We confront the predicted gyroscopic precession (in particular the geodetic precession) from metric f (R) theory with the data provided by the mission, Gravity Probe-B. We find the constraint, |a 2 | < 1.33×10 12 m 2 , where a 2 is the coefficient assessing the strength of the lowest order correction to the Einstein-Hilbert action for a metric f (R) theory with f analytic. This constraint improves over astrophysical bounds provided by massive black holes and planetary precession which are |a 2 | 10 17 m 2 and |a 2 | 1.2 × 10 18 m 2 respectively and it is complementary to the stringent ones provided by lab based experiments, like the Eöt-Wash experiment. We also investigate the modification of our result for gyroscopic precession if the oblateness of Earth is taken into account by considering the quadrupole moment of Earth. Finally, we provide a generalisation of our result for the gyroscopic precession in the context of Brans-Dicke theories with a potential (recovering the previously derived results in the appropriate limits).