Carbon is proven to be very effective in pinning the magnetic vortices and improving the superconducting performance of MgB2 at high fields. In this work, we have used polymethyl methacrylate (PMMA) polymer as a safe and cost effective carbon source. The effects of molecular weight of PMMA on crystal structure, microstructure as well as on superconducting properties of MgB2were studied. X-ray diffraction analysis revealed that there is a noticeable shift in (100) and (110) Bragg reflections towards higher angles, while no shift was observed in (002) reflections for MgB2 doped with different molecular weights of PMMA. This indicates that carbon could be substituted in the boron honeycomb layers without affecting the interlayer interactions. As compared to undoped MgB2, substantial enhancement in Jc(H) properties was obtained for PMMA-doped MgB2 samples both at 5 K and 20 K. The enhancement could be attributed to the effective carbon substitution for boron and the refinement of crystallite size by PMMA doping.