Consequence of thermal and concentration convection on peristaltic pumping of hyperbolic tangent nanofluid in a non‐uniform channel and induced magnetic field is discussed in this article. The brief mathematical modeling, along with induced magnetic field, of hyperbolic tangent nanofluid is given. The governing equations are reduced to dimensionless form by using appropriate transformations. Exact solutions are calculated for temperature, nanoparticle volume fraction, and concentration. Numerical technique is manipulated to solve the highly non‐linear differential equations. The roll of different variables is graphically analyzed in terms of concentration, temperature, volume fraction of nanoparticles, axial induced magnetic field, magnetic force function, stream functions, pressure rise, and pressure gradient.