The Poggendorff illusion refers to the phenomenon that the human brain misperceives a diagonal line as being apparently misaligned once the diagonal line is interrupted by two parallel edges, and the size of illusion is negatively correlated with the angle of interception of the oblique, i.e. the sharper the oblique angle, the larger the illusion. This optical illusion can be produced by both real and illusory contour. In this fMRI study, by parametrically varying the oblique angle, we investigated the shared and specific neural mechanisms underlying the Poggendorff illusion induced by real and illusory contour. At the behavioral level, not only the real but also the illusory contours were capable of inducing significant Poggendorff illusion. The size of illusion induced by the real contour, however, was larger than that induced by the illusory contour. At the neural level, real and illusory contours commonly activated more dorsal visual areas, and the real contours specifically activated more ventral visual areas. More importantly, examinations on the parametric modulation effects of the size of illusion revealed the specific neural mechanisms underlying the Poggendorff illusion induced by the real and the illusory contours, respectively. Left precentral gyrus and right middle occipital cortex were specifically involved in the Poggendorff illusion induced by the real contour. On the other hand, bilateral intraparietal sulcus (IPS) and right lateral occipital complex (LOC) were specifically involved in the Poggendorff illusion induced by the illusory contour. Functional implications of the above findings were further discussed.