This article looks at the peristaltic flow of nanofluid in a channel with compliant walls. Brownian motion and thermophoresis effects are taken into consideration. Mathematical model is formulated by using long wavelength and low Reynolds number assumptions. The analytic expressions of temperature and nanoparticles concentration are developed by homotopy analysis method (HAM). The solutions are validated through the numerical solutions obtained by employing the built in routine for solving nonlinear boundary value problem via shooting method through software mathematica. Special emphasis is given to the role of key parameters including the Brownian motion parameter (Nb), thermophoresis parameter (Nt), Prandtl number (Pr), Eckert number (Ec) on temperature, and nanoparticles concentration. It is observed that both temperature and nanoparticles volume fraction increase when the Brownian motion and thermophoresis effects intensify. Moreover, the heat transfer coefficient is increasing function of Nb and Nt.