The optoelectronic performance of wide-bandgap semiconductors often cannot compete with that of their defect-tolerant small-bandgap counterpart. Here, the authors outline three main challenges to overcome for mitigating the impact of defects in wide-bandgap semiconductors.