This study investigates the electrical and optical characteristics of Mg-doped InxGa1-xN grown by metalorganic chemical vapor deposition. All the Mg-doped InxGa1-xN layers show p-type conduction after thermal annealing. Room temperature (RT) carrier concentration increases exponentially with an In mole fraction increase. The highest hole concentration of bulk Mg-doped InxGa1-xN is 1.65 × 1019 cm-3. Also, the RT photoluminescence (PL) spectra of Mg-related emissions in InxGa1-xN are displayed. However, the PL peak intensity becomes weak after the post-annealing process on Mg-doped InxGa1-xN. This degradation might be created by the surface dissociation during the post-annealing process.