The commonwealth ranks 26th in Forbes' annual "Best States for Business and Careers" listing, between Kentucky and New Hampshire. Utah finished first, Maine finished 50th.
Pennsylvania ranked low on business costs and labor supply — 39th and 35th, respectively, but was No. 6 in quality of life.
The other factors considered were regulatory environment (Pennsylvania ranked 27th), economic climate (19th) and growth prospects (27th).
Generally, western states ranked higher and northeastern states lower by Forbes' measure. Virginia was an exception at No. 2, but its outlook is hampered by the prospect of coming constraints on defense and other federal outlays, which drive much of its economy, Forbes said.