Ensuring precise prediction, monitoring, and control of frictional contact temperature is imperative for the design and operation of advanced equipment. Currently, the measurement of frictional contact temperature remains a formidable challenge, while the accuracy of simulation results from conventional numerical methods remains uncertain. In this study, a PINN model that incorporates physical information, such as partial differential equation (PDE) and boundary conditions, into neural networks is proposed to solve forward and inverse problems of frictional contact temperature. Compared to the traditional numerical calculation method, the preprocessing of the PINN is more convenient. Another noteworthy characteristic of the PINN is that it can combine data to obtain a more accurate temperature field and solve inverse problems to identify some unknown parameters. The experimental results substantiate that the PINN effectively resolves the forward problems of frictional contact temperature when provided with known input conditions. Additionally, the PINN demonstrates its ability to accurately predict the friction temperature field with an unknown input parameter, which is achieved by incorporating a limited quantity of easily measurable actual temperature data. The PINN can also be employed for the inverse identification of unknown parameters. Finally, the PINN exhibits potential in solving inverse problems associated with frictional contact temperature, even when multiple input parameters are unknown.