This paper presents is a solution for static torsion in a microtube made of bi-directional functionally graded materials (BDFGMs). The material properties are assumed to vary according to the arbitrary function along radius and length of microtube. As for the torque effect of the axial magnetic field, the well-known Maxwell’s relation is used. Couple stress theory is employed to study the influence of small-scale on static torsion of microtube. The Navier equation and boundary conditions of the size-dependent BDFG microtube were derived by the minimum potential energy. These equations were solved by employing the generalized differential quadrature method (GDQM). Comparison between the results of this work with the analytical method for static torsion of microtube made of one direction FG material reveals the accuracy of this study. Finally, numerical results are presented to study the small-scale effect and heterogeneity constants on the static torsion of the bi-directional functionally graded microtube.