Upon p-NP adsorption on the Al-doped BN sheet, HOMO/LUMO energy gap of the sheet is dramatically decreased from 5.39 to 1.23 eV and it becomes a p-type semiconductor. Thus, the Al-doped BN sheet may transform the presence of p-NP molecule into an electrical signal, and it might be potentially used in p-NP sensors.