In this work, thermomechanical behaviors of temperature-dependent (TD) functionally graded porous (FGP) sandwich pipes subjected to nonuniform pressures and thermal loads are studied. Because the material properties are variable across the wall of the pipe, seeking exact solutions for the pipe is almost impossible. We use a slice model where the pipe is partitioned into plenty of annular slices and each slice is assumed to have uniform material properties. First, the nonlinear heat transfer along the pipe wall thickness is obtained by introducing an iterative procedure. Then, by using the Fourier series, the mechanical problem is decomposed into axisymmetric and nonaxisymmetric parts. Both the parts can be treated by the state space method and transfer matrix method, and then the superposition principle is used to obtain the displacement and stress distributions. The model results are in good consistency with those obtained from the numerical simulation and those reported in the literature. Finally, an FGP sandwich pipe is considered to discuss the effects of the temperature dependence of material properties (TDMP), power-law index, porosity, and pressure distribution on its thermomechanical behaviors.