Urban utility tunnels are integral to the underground power transmission systems of cities. Enhancing the understanding of cable fire hazards within these tunnels is pivotal for fostering risk-resilient underground environments. This study delves into the temperature distribution characteristics of near-wall cable fires in urban utility tunnels. Employing a reduced-scale utility tunnel model, a series of fire experiments were conducted, focusing on the safety monitoring of horizontally arranged cables. Cone calorimeter tests were initially performed to ascertain the heat release rate of cable fires. The study meticulously considered cable spatial position parameters, such as cable height and near-wall distance, as dependent variables, and monitored real-time temperature changes within the utility tunnel under various fire scenarios.The findings reveal that the cable’s proximity to the wall significantly influences the fire temperature field. For instance, when a fire near the sidewall (at 1 cm) is compared to one in the middle of the tunnel (at 20 cm), the ceiling maximum temperature is reduced by 38.9 %. The sidewall’s limiting effect diminishes fire energy release, moderates vertical temperature decay, and enhances longitudinal temperature attenuation. The study introduces dimensionless mathematical models that account for the sidewall effect, quantifying the characteristics of fire-induced smoke temperature distribution in utility tunnels, such as ceiling maximum temperature rise, vertical smoke temperature profile, and longitudinal smoke temperature decay. The models’ predicted values closely align with the experimental results.These insights are pivotal for integrating cable numbers and spatial positioning in scenario-based fire prevention and mitigation strategies. The study’s implications extend to the design and operation of urban utility tunnels, emphasizing the need for strategic cable placement and the potential for mathematical models to inform risk mitigation measures. The research contributes to the advancement of sustainable urban development by providing a framework for enhancing the safety and resilience of critical infrastructure against fire hazards.