What Determines Mortgage Rates?

There are many things that can determine mortgage rates, mostly market conditions. It is also affected by inflation, where as if inflation increases, so will the mortgage rate.