(Bloomberg) -- Forget about San Jose. Small, off-the-radar areas offer tech opportunities.

Although salaries in the tech field are generally higher in larger metropolitan areas, a select group of less-populated cities can be considered hidden gems.

Using occupational data from the Bureau of Labor Statistics, Bloomberg identified 30 smaller metro areas where both salaries and headcounts in the field of science, technology, engineering and mathematics increased at least twice as fast compared with the entire nation in 2018.

Median pay for STEM jobs increased 2.1% in 2018 to $84,880 from a year earlier, while total employment in the sector swelled to 9.09 million, up 2.3% from 2017.

The Dover, New Hampshire-Durham, Maine, metro area, where tech workers typically earned $93,090 last year, topped the list. Total employment in the field within that metro area increased 30% -- the biggest advance among the cohort -- to 4,850.

The metro areas of Danbury, Connecticut, Lake Charles, Louisiana, and Bend-Redmond, Oregon, are also among tech job locales with more than 4,000 positions.

Midland, Michigan, home to chemical giant Dow Inc. and a standout in Bloomberg’s earlier “upward mobility” gauge, saw tech pay rise at the fastest pace -- 29.7%. The metro areas of Victoria, Texas, and Redding, California, have seen annual gains of 16.8% and 12.1%, respectively.

To contact the reporters on this story: Alex Tanzi in Washington at atanzi@bloomberg.net;Wei Lu in New York at wlu30@bloomberg.net

To contact the editors responsible for this story: Scott Lanman at slanman@bloomberg.net, Vince Golle

©2019 Bloomberg L.P.