This work presents an analytical investigation for analyzing the mechanical buckling of shells of revolution made of functionally graded materials, subjected to external uniform pressure taking into account the effects of uniform temperature rise. The material compositions only vary smoothly along its thickness direction with the power law distribution. Using the adjacent equilibrium criterion and classical shell theory, the linearization stability equations have been established. The resulting equations which they are the system of three variable coefficient partial differential equations in terms of displacement components are investigated by Galerkin method. The closed-form expression for determining the critical buckling load is obtained. In numerical results, the effects of material properties, dimensional parameters, and temperature on the buckling of shells of revolution are discussed in details.