Thermoelastic buckling of micro/nano-beams subjected to non-uniform temperature distribution is investigated in this paper. The mechanical governing equation is derived based on the surface effect and mechanical non-local effect. The non-local heat conduction model is used to predict temperature distribution in micro/nano-beams. Therefore, the obtained analytical solution can be used to analyze the influence of both the mechanical and thermal small scale effects on buckling of thermoelastic micro/nano-beams. In numerical simulations, a critical thickness is proposed to determine the influence region of both mechanical and thermal small scale effects. The influence of a small scale effect on buckling of micro/nano-beams must be considered if beam thickness is less than the critical thickness. In the influence region of a small scale effect, a surface effect has strong influence on the size-dependent buckling behavior, rather than mechanical and thermal non-local effects. Moreover, combined small scale effects, i.e., a surface effect and both mechanical and thermal non-local effects, lead to a larger critical load. Additionally, the influence of other key factors on buckling of the micro/nano-beams is studied in detail. This paper provides theoretical explanation to the buckling behaviors of micro/nano-beams under a non-uniform temperature distribution load.