The carbon (C) fixed by crops, which is exported with harvest and retained as postharvest residues in a field, is important for calculating the C balance. The aim of this study was to determine the effect of water availability on the C content in whole wheat plants. In a three-year field trial, the weights of grain, straw, chaff, stubble, and roots of two cultivars of winter wheat (Triticum aestivum L.) and one cultivar of einkorn wheat (Triticum monococcum L.) and their carbon contents were determined in water stress, irrigation, and rain-fed control treatments. The water availability, year, and cultivar had a significant influence on the C content in aboveground plant parts, but the effect of water on grain C was weak. The C content decreased with irrigation and increased with drought, but the differences were small (at most, 3.39% in chaff). On average, the C contents of grain, straw, chaff, and roots reached 45.0, 45.7, 42.6, and 34.9%, respectively. The amount of C exported with grain and left on the field in the form of postharvest residues depended on the weight of the total biomass and the ratio of grain to straw and residue. Whole plant C yield reached 8.99, 7.46, and 9.65 t ha-1 in rain-fed control, stressed, and irrigated treatments, respectively, and 8.91, 9.45, and 7.47 t ha-1 in Artix, Butterfly, and Rumona, respectively. Irrigation significantly increased the C content in grain and straw (but not in chaff, stubble, and roots) in comparison with water shortage conditions. On average, a grain yield of 1 t ha-1 corresponded to an average export of 0.447-0.454 t C ha-1 in the grain of all cultivars and inputs of 0.721, 0.832, and 2.207 t C ha-1 of residue to the soil in the form of straw and postharvest residue in the two cultivars of common wheat and one of einkorn. The results of the study provided reliable data for the calculation of the C balance of wheat under conditions of different water availability.