In this paper, the thermoelectric properties of n-type GaN and a 2D electron gas (2DEG) created from an AlGaN/GaN heterostructure are presented. Their thermoelectric properties are essential in order to optimise the thermoelectric devices they are used for, such as thermoelectric sensors, generators or coolers. In this study, Seebeck coefficients of À 162 lV/K and À 86 lV/K and power factor (rS 2) values of 0.56 mW/(m K 2) and 3.1 mW/(m K 2) were obtained for ntype GaN and the AlGaN/GaN heterostructure, respectively, at 430 K. Their Seebeck coefficient and resistivity were also measured over a number of temperature cycles, with no change in either of these measurements during the cycling, implying that these materials are thermoelectrically stable. Seebeck coefficients and thermoelectric properties of both materials remain stable throughout the temperature changes. These characteristics show the suitability of these materials for high performance thermoelectric sensors.