We have studied the effect of growth and design parameters on the performance of Si-doped GaN/AlN multiquantum-well ͑MQW͒ structures for intersubband optoelectronics in the near infrared. The samples under study display infrared absorption in the 1.3-1.9 m wavelength range, originating from the photoexcitation of electrons from the first to the second electronic level in the QWs. A commonly observed feature is the presence of multiple peaks in both intersubband absorption and interband emission spectra, which are attributed to monolayer thickness fluctuations in the quantum wells. These thickness fluctuations are induced by dislocations and eventually by cracks or metal accumulation during growth. The best optical performance is attained in samples synthesized with a moderate Ga excess during the growth of both the GaN QWs and the AlN barriers without growth interruptions. The optical properties are degraded at high growth temperatures ͑Ͼ720°C͒ due to the thermal activation of the AlN etching of GaN. From the point of view of strain, GaN/AlN MQWs evolve rapidly to an equilibrium average lattice parameter, which is independent of the substrate. As a result, we do not observe any significant effect of the underlayers on the optical performance of the MQW structure. The average lattice parameter is different from the expected value from elastic energy minimization, which points out the presence of periodic misfit dislocations in the structure. The structural quality of the samples is independent of Si doping up to 10 20 cm −3 . By contrast, the intersubband absorption spectrum broadens and blueshifts with doping as a result of electron-electron interactions. This behavior is independent of the Si doping location in the structure, either in the QWs or in the barriers. It is found that the magnitude of the intersubband absorption is not directly determined by the Si concentration in the wells. Instead, depending on the Al mole fraction of the cap layer, the internal electric field due to piezoelectric and spontaneous polarization can deplete or induce charge accumulation in the QWs. In fact, this polarization-induced doping can result in a significant and even dominant contribution to the infrared absorption in GaN/AlN MQW structures.