We report on the growth of and evolution of defects in GaN epilayers having single-and double-layer SiN x nanoporous insertion layers. The SiN x was formed in situ in the growth chamber of an organometallic vapor-phase epitaxy system by simultaneous flow of diluted silane and ammonia. The GaN epilayers and SiN x interlayers were grown on 6H-SiC substrates using three different nucleation layers, namely, low-temperature GaN, high-temperature GaN, and high-temperature AlN nucleation layers. X-ray-diffraction rocking curves and cross-sectional and plan-view transmission electron microscope analyses indicated that a nanoporous SiN x layer can reduce the dislocations density in the GaN overgrown layer to ϳ3 ϫ 10 8 cm −2 range; below this level the defect blocking effect of SiN x would saturate. Therefore the insertion of a second SiN x layer becomes much less effective in reducing dislocations, although it continues to reduce the point defects, as suggested by time-resolved photoluminescence measurements. The insertion of SiN x interlayers was found to improve significantly the mechanical strength of the GaN epilayers resulting in a much lower crack line density.