We present a detailed analysis of survey and follow-up observations of microlensing event OGLE-2012-BLG-0406 based on data obtained from 10 different observatories. Intensive coverage of the lightcurve, especially the perturbation part, allowed us to accurately measure the parallax effect and lens orbital motion. Combining our measurement of the lens parallax with the angular Einstein radius determined from finite-source effects, we estimate the physical parameters of the lens system. We find that the event was caused by a $2.73pm 0.43 M_{rm J}$ planet orbiting a $0.44pm 0.07 M_{odot}$ early M-type star. The distance to the lens is $4.97pm 0.29$ kpc and the projected separation between the host star and its planet at the time of the event is $3.45pm 0.26$ AU. We find that the additional coverage provided by follow-up observations, especially during the planetary perturbation, leads to a more accurate determination of the physical parameters of the lens.