Mortgage rates moved slightly upward in the last week, according to the latest Freddie Mac Primary Mortgage Market Survey.

For the week ending October 25, the average rate on a 30-year fixed mortgage was 4.86 percent. The average the week before was 4.85 percent. A year ago, the typical 30-year fixed rate was 3.94 percent.

The average 15-year fixed rate increased slightly from 4.26 percent to 4.29 percent over the week. Last year’s average was 3.25 percent.

Rates on 5-year adjustable rate mortgages averaged 4.14 percent the past week. That was an increase from 4.10 percent the week before. Last week’s rate was almost a full percentage point above the year ago average was 3.21 percent.

“We expect rates to continue to rise, which will put downward pressure on homebuying activity,” said Freddie Mac Chief Economist Sam Khater. “While higher borrowing costs will keep some people out of the market, buyers with more flexibility could take advantage of the decreased competition.”