We investigate the bioconvection of gyrotactic microorganism near the boundaiy layer region of an inclined semi infinite permeable plate embedded in a porous medium filled with a water-based nanofluid containing motile microorganisms. The model for the nanofluid incorporates Brownian motion, thermophoresis, also Soret effect and magnetic field effect are considered in the study. The governing partial differential equations for momentum, heat, solute concentration, nanoparticle volume fraction, and microorganism conservation are reduced to a set of nonlinear ordinary differential equations using similarity transformations and solved numerically. The effects of the bioconvection parameters on the thermal, solutal, nanoparticle concentration, and the density of the microorganisms are analyzed. A comparative analysis of our results with previously reported results in the literature is given. Some interesting phenomena are observed for the local Nusseit and Sherwood number. It is shown that the Peclet number and the bioconvection Rayleigh number highly influence the local Nusseit and Sherwood numbers. For Peclet numbers less than 1, the local Nusseit and Sherwood number increase with the bioconvection Lewis number. However, both the heat and mass transfer rates decrease with bioconvection Lewis number for higher values of the Peclet number.