Mortgage closing costs remain below the national average, but they're going up relative to other states, according to a Bankrate.com survey.

The website reported closing costs in Oregon would be $2,370, assuming a $200,000 mortgage to buy a single-family home with a 20 percent down payment.

That puts Oregon at No. 30 in a highest-to-lowest ranking of closing costs among the 50 states and the District of Columbia. Last year, the state was ranked No. 46.

Nationally, closing costs rose about 6 percent to $2,402. Bankrate said the rise was largely due to increases in origination fees.

"Most firms have figured out it costs us more now to do a loan than it ever has," said Erik Anderson, regional vice president for Alpine Mortgage Planning. "The operational load, the (number of) actual people that are associated with people getting a loan, that's increased by 50 percent."

That's because tighter regulation in the wake of the housing crash requires more oversight at each step in the lending process, Anderson said.

The highest closing costs were reported in Hawaii ($2,919,) followed by Alaska ($2,675), South Carolina ($2,658), California ($2,639) and New Mexico ($2,566).

The lowest were seen in Wisconsin ($2,119), Missouri ($2,188), Kansas ($2,193), Michigan ($2,203) and Washington state ($2,208).

Those costs include fees charged by lenders and various third-party fees, but don't include taxes, title fees, property insurance, association fees or interest.

"It's unlikely that you will move to Wisconsin solely to pay lower closing costs, but you should shop around and compare fees from different loan originators to make sure you get the best deal in your area," said Polyana da Costa, Bankrate's senior mortgage analyst.