We have studied the high-field properties of carbon-doped MgB 2 thin films prepared by hybrid physical-chemical vapor deposition (HPCVD). Carbon doping was accomplished by adding carbon-containing gas, such as bis(methylcyclopentadienyl)magnesium and trimethylboron, into the hydrogen carrier gas during the deposition. In both cases, T c drops slowly and residual resistivity increases considerably with carbon doping. Both the a and c lattice constants increase with carbon content in the films, a behavior different from that of bulk carbon-doped MgB 2 samples. The films heavily doped with trimethylboron show very high parallel H c2 over 70 T at low temperatures and a large temperature derivative −dH c2 /dT near T c. These behaviors are found to depend on the unique microstructure of the films, which consists of MgB 2 layers a few-nanometers thick separated by non-superconducting MgB 2 C 2 layers. This leads to an increase in the parallel H c2 by the geometrical effect, which is in addition to the significant enhancement of H c2 due to changes in the scattering rates within and between the two bands present in films doped using both carbon sources. The high H c2 and high-field J c (H) values observed in this work are very promising for the application of MgB 2 in high magnetic fields.