The tech industry cites diversity and inclusion as a priority. When firms release diversity data, they'll point to their efforts to hire women and minorities. But they are silent on the issue of age. On that front, analysis of government IT workforce age data shows a largely younger workforce.

CompTIA Inc., an industry group, analyzed government data and compared it against national averages across all industries. Its analysis shows 22% of all workers in the labor force are 25 to 34 years old. But in the IT workforce, it's 28%. The gap continues in the 35-to-44 age bracket, where IT workers make up 29% of this labor force, above the national workforce of 21%.

But in the 55- to 64-year-old age group, the reverse is true. IT workers in this age bracket make up 13% of the tech workforce, below the 17% of the national workforce.

CompTIA isn't drawing any conclusions from the data.

"We don't want to read anything into this other than the fact that it skews younger," said Tim Herbert, senior vice president of research and market intelligence at CompTIA in Downers Grove, Ill.

"It's tough to make too many generalizations here," Herbert said. It could be a combination of age bias, or a "degree of self-selection" where older IT workers are moving into other fields, management or other positions, he said. The reasons are not captured by the data, he said.

If employers are excluding certain types of candidates, "they are certainly putting themselves at a disadvantage, given how competitive the market is," Herbert said.

The IT workforce is younger than the national workforce, data analysis shows.

Multiple reasons for problem There is no single or clear reason for IT workforce's age disparity against the national data. Age bias may play a role. Age discrimination lawsuits in the tech industry are common. Google, IBM and Hewlett-Packard are among the firms that have faced litigation. Ron Hira, an associate professor in the political science department at Howard University, also cited the tech industry's reliance on H-1B visa workers. Hira has testified in Congress on this issue. We don't want to read anything into this other than the fact that it skews younger. Tim HerbertSenior vice president, research and market intelligence, CompTIA H-1B workers are mostly under the age of 40. Of all the H-1B petitions approved, about 70% are for people who will work in computer occupations, including IT, according to government data. In 2017, 88% of all H-1B workers were less than 39 years of age. Indeed, 43% were 30 to 34 years of age, the U.S. reported. Hira faults the tech industry for its failure to improve its hiring of women and minorities. "These are significant talent pools that the tech industry has largely ignored," Hira said. Women, for instance, account for 26% of the computing occupations, according to the National Center for Women and Information Technology.