A technique to enhance the hole concentration in activated Mg-doped p-type GaN epitaxial layers is described. The method consists of depositing a porous plasma-enhanced chemical vapor deposited Equation or symbol description not availableSiOx layer on top of p-GaN after which the sample is heated to Equation or symbol description not available950°C in nitrogen ambient for Equation or symbol description not available1min followed by the removal of the Equation or symbol description not availableSiOx layer in a buffered HF solution. A significant improvement of the conductivity of the p-GaN layer has been obtained.