Secondary Market in Real Estate: How Mortgage Loans Are Bought and Sold

In real estate, the secondary market is where existing mortgage loans are bought and sold. A bank or mortgage company makes a loan to a homebuyer, then sells that loan, or a pool of similar loans, to an investor such as Fannie Mae or Freddie Mac. The sale gives the lender fresh cash to make more loans. This is called the secondary mortgage market, and it is a standard topic in the financing section of the real estate exam.

This guide explains how the primary and secondary market fit together, what Fannie Mae, Freddie Mac and Ginnie Mae each do, what conforming loans and mortgage-backed securities are, what happens to a borrower when a loan is sold, and how exam questions test all of it. When you finish, try our free real estate practice exam.

The secondary market in real estate, where mortgage loans are bought and sold

What Is the Secondary Market?

A secondary market is any market where investors buy and sell something that has already been created and sold once. The first sale happens in the primary market. Every later sale between investors happens in the secondary market.

The term is used in two settings you may hear about:

  • Securities: when a company first sells new shares to investors, that is a primary market sale. When investors later trade those shares with each other on an exchange, that is the secondary market. The company that issued the shares is not a party to those later trades.
  • Mortgages: when a lender makes a loan to a borrower, that is the primary mortgage market. When the lender sells the loan, or investors trade securities backed by pools of loans, that is the secondary mortgage market.

On the real estate exam, the secondary market almost always means the secondary mortgage market. The rest of this guide focuses on that meaning.

Primary vs Secondary Mortgage Market

The primary mortgage market is where borrowers get loans. Lenders in the primary market take loan applications, check credit and income, approve loans and fund them at closing. Examples include commercial banks, savings associations, credit unions and mortgage companies, sometimes called mortgage bankers.

The secondary market is where those loans are sold after they are made. A borrower never deals with the secondary market directly. A borrower shops for a loan in the primary market, and the lender decides later whether to keep the loan or sell it. Either way, the mortgage or deed of trust stays recorded as a lien on the home. Our article on lien theory states explains how that lien works.

A mortgage broker is different from both. A broker brings borrowers and lenders together and is paid for arranging the loan, but the loan is usually funded by the lender, not the broker. Expect at least one exam question that asks you to tell a lender, a broker and a secondary market investor apart.

Key facts about the secondary market for mortgages

How the Secondary Mortgage Market Works

Follow one loan from start to finish:

  • Origination: a lender in the primary market makes a 30-year loan to a homebuyer.
  • Sale: the lender sells the loan to a secondary market investor, such as Fannie Mae or Freddie Mac, and receives cash.
  • Pooling: the investor combines the loan with many similar loans into a pool.
  • Securitization: the pool backs mortgage-backed securities, which are sold to investors such as pension funds, insurance companies and mutual funds.
  • Payments: the borrower keeps making monthly payments, which flow through to the investors who own the securities.
  • More loans: the original lender uses the cash from the sale to make new loans in the primary market.

The key word is liquidity. Without a secondary market, a lender’s money would be tied up for 15 or 30 years in each loan it made. By selling loans, lenders can turn long-term loans back into cash and keep lending. That steady flow of money is the main reason the secondary mortgage market exists.

Mortgage-Backed Securities

A mortgage-backed security, or MBS, is an investment backed by a pool of mortgage loans. Investors who buy an MBS receive a share of the principal and interest that borrowers pay on the loans in the pool. The video near the top of this page gives a one-minute overview of how mortgage-backed securities work.

An MBS can be guaranteed by Fannie Mae, Freddie Mac or Ginnie Mae, or it can be issued privately without a government-related guarantee. For the exam, you mainly need to know that MBS are how many mortgages are funded by investors far from the original lender.

Fannie Mae, Freddie Mac and Ginnie Mae

Three names dominate the secondary mortgage market, and the exam expects you to know what each one does.

Fannie Mae

Fannie Mae is the nickname for the Federal National Mortgage Association. It was created in 1938 to buy government-insured mortgages and add money to the housing market. In 1968, Congress split the original organization in two. The part that kept the Fannie Mae name became a government-sponsored enterprise (GSE), a company chartered by Congress but owned by shareholders.

Fannie Mae does not make loans to consumers. It buys loans from lenders and guarantees mortgage-backed securities backed by those loans. Most of the loans it buys are conventional loans, meaning loans that are not insured or guaranteed by a government agency.

Freddie Mac

Freddie Mac is the nickname for the Federal Home Loan Mortgage Corporation. Congress created it in 1970 under the Emergency Home Finance Act. Its job is much like Fannie Mae’s: buy mortgages from lenders, pool them and guarantee mortgage-backed securities. Like Fannie Mae, it is a GSE that does not lend directly to homebuyers.

Since September 6, 2008, Fannie Mae and Freddie Mac have operated under conservatorship by the Federal Housing Finance Agency (FHFA), which also regulates them. You can read about it on FHFA’s conservatorship page.

Ginnie Mae

Ginnie Mae is the nickname for the Government National Mortgage Association. It was created in the same 1968 split that made Fannie Mae a private company. Unlike the other two, Ginnie Mae is a government corporation inside the Department of Housing and Urban Development (HUD).

Ginnie Mae does not buy loans. Instead, it guarantees mortgage-backed securities that approved lenders create from government-backed loans, mainly FHA, VA and USDA loans. Its guarantee of timely payment to investors is backed by the full faith and credit of the U.S. government. A favorite exam question asks which of the three does not purchase mortgages. The answer is Ginnie Mae.

Conforming and Nonconforming Loans

Because Fannie Mae and Freddie Mac buy so many loans, their rules shape the whole mortgage market. A loan that meets their guidelines is called a conforming loan. The guidelines cover credit, income documentation, down payment, property type and the size of the loan.

The size limit is called the conforming loan limit. FHFA sets it each year. For 2026, FHFA set the baseline conforming loan limit for a one-unit property at $832,750 in most of the country, with a ceiling of $1,249,125 in high-cost areas. Check FHFA’s site for the current year, because the limits change annually.

A loan that does not meet those guidelines is a nonconforming loan. The most common example is a jumbo loan, which is larger than the conforming loan limit. Lenders often keep nonconforming loans in their own portfolios or sell them to private investors, and they may charge a different rate.

Portfolio Loans

Not every loan is sold. A lender that keeps loans on its own books instead of selling them is called a portfolio lender, and those loans are portfolio loans. Because the lender is not selling the loan, it does not have to follow Fannie Mae or Freddie Mac guidelines and can set its own rules within the law.

Portfolio lending is common for loans that do not fit standard guidelines, such as loans on unusual properties or for borrowers with complex income. Many community banks and credit unions keep at least some of their loans. On the exam, a loan that the lender makes and keeps is still a primary market loan. It enters the secondary market only if it is later sold.

Why Standard Forms Matter

To sell loans easily, lenders use standard documents and underwriting rules. Fannie Mae and Freddie Mac publish uniform loan application, note and security instrument forms that lenders across the country use. Standardization means an investor in another state can buy a loan without reviewing it from scratch. This is one reason mortgage documents look so similar from one lender to the next.

What Happens When Your Loan Is Sold?

Borrowers are often surprised to learn that their loan has been sold. The good news is that a sale does not change the terms of the loan. The interest rate, payment, remaining term and other terms in the note and mortgage stay exactly the same.

What may change is who you pay. The company that collects payments, handles the escrow account and answers questions is the loan servicer. The servicer may be the original lender, or it may be another company. Servicing can be sold separately from the loan itself.

Federal rules give borrowers notice when this happens:

  • Servicing transfer: under the Real Estate Settlement Procedures Act rules in 12 CFR 1024.33, the old servicer generally must notify the borrower at least 15 days before the transfer, and the new servicer within 15 days after.
  • Grace period: for 60 days after a servicing transfer, an on-time payment sent to the old servicer cannot be treated as late.
  • Ownership transfer: under the Truth in Lending Act rules, the new owner of a mortgage loan generally must notify the borrower within 30 days after the transfer.

A sale of the loan is not the same as a sale of the property. A due-on-sale clause is triggered when the borrower transfers the property, not when the lender sells the loan. That difference matters in creative deals such as buying subject-to real estate, where the deed changes hands but the loan does not. Our articles on the alienation clause and the defeasance clause cover other mortgage terms the exam tests.

Why the Secondary Market Matters

The secondary mortgage market affects almost every home sale, even though most buyers never think about it. Its main effects are:

  • Liquidity: lenders can turn loans back into cash and keep lending.
  • Steady supply of money: investors from around the world provide funds for local home loans.
  • Standard underwriting: guidelines from Fannie Mae and Freddie Mac make loans more uniform and easier to sell.
  • Support for long-term fixed-rate loans: selling loans lets lenders offer 30-year fixed-rate mortgages without holding all of that risk themselves.
  • Government-backed lending: Ginnie Mae’s guarantee helps keep money flowing to FHA, VA and USDA loans.

When the secondary market is working well, it helps keep mortgage money available. When it is disrupted, as it was during the 2008 financial crisis, lending can tighten quickly. That crisis is why Fannie Mae and Freddie Mac were placed in conservatorship.

Other Meanings of Secondary Market

You may see the phrase used in two other ways. In investing, the secondary market means the stock and bond markets where investors trade existing securities, such as the New York Stock Exchange and Nasdaq. In commercial real estate, people sometimes rank cities as primary, secondary or tertiary markets by size and investment activity, so a secondary market can also mean a mid-sized metro area.

Neither meaning is what the licensing exam usually tests. If a question mentions Fannie Mae, Freddie Mac, Ginnie Mae, mortgage-backed securities or lenders selling loans, it is asking about the secondary mortgage market.

How the Secondary Market Shows Up on the Exam

Exam writers tend to ask short, direct questions on this topic. Watch for these patterns:

  • A bank makes a loan to a homebuyer: primary market.
  • A lender sells a loan to Fannie Mae: secondary market.
  • The entity that guarantees MBS backed by FHA and VA loans but does not buy loans: Ginnie Mae.
  • A loan that meets Fannie Mae and Freddie Mac guidelines: conforming loan.
  • A loan larger than the conforming loan limit: jumbo loan, a type of nonconforming loan.
  • The main purpose of the secondary market: liquidity, so lenders can make more loans.
  • A borrower’s loan is sold: the terms stay the same, and the servicer may change.

A simple memory aid for the three agencies: Fannie and Freddie buy loans. Ginnie guarantees government loans.

Common Exam Traps

  • Thinking Fannie Mae or Freddie Mac lends to consumers. They buy loans from lenders. Borrowers get loans in the primary market.
  • Saying Ginnie Mae buys loans. It guarantees securities backed by government loans.
  • Mixing up FHA and Ginnie Mae. FHA insures loans. Ginnie Mae guarantees securities backed by those loans.
  • Believing the loan terms change when a loan is sold. They do not. Only the owner or servicer may change.
  • Calling a mortgage broker a lender. A broker arranges loans but usually does not fund them.
Exam tips for the secondary market and Fannie Mae, Freddie Mac and Ginnie Mae

Secondary Market Practice Questions

Try each question before you read the answer below it.

1. A credit union makes a mortgage loan to a homebuyer and keeps it in its own portfolio. In which market did this take place?

Answer: The primary mortgage market. The loan was made directly to the borrower and was not sold.

2. What is the main purpose of the secondary mortgage market?

Answer: To provide liquidity. Lenders sell loans to get cash so they can make more loans.

3. Which organization guarantees mortgage-backed securities backed by FHA and VA loans but does not purchase loans?

Answer: Ginnie Mae, the Government National Mortgage Association, which is part of HUD.

4. A borrower’s lender sells her loan to Freddie Mac. What happens to her interest rate?

Answer: Nothing. The terms of the note and mortgage stay the same. She may be told to send payments to a new servicer.

5. What is a loan called if it meets Fannie Mae and Freddie Mac guidelines, including the loan limit?

Answer: A conforming loan. A loan above the limit is a jumbo loan, which is nonconforming.

6. After a servicing transfer, a borrower mails an on-time payment to the old servicer by mistake. Can the new servicer charge a late fee?

Answer: Not during the first 60 days after the transfer, as long as the old servicer received the payment on time.

Frequently Asked Questions

What is the secondary market in real estate?

It is the market where existing mortgage loans and mortgage-backed securities are bought and sold. Lenders sell loans to investors such as Fannie Mae and Freddie Mac to get cash for new loans.

Who are the main players in the secondary mortgage market?

Fannie Mae and Freddie Mac buy conventional loans and guarantee mortgage-backed securities. Ginnie Mae guarantees securities backed by government loans. Private investors also buy loans and securities.

Why do lenders sell mortgages?

To free up money. A lender that sells a loan gets cash right away instead of waiting 15 or 30 years to be repaid, and it can use that cash to make new loans.

Does the secondary market affect homebuyers?

Yes, indirectly. Secondary market guidelines shape loan approval rules, loan limits and the availability of long-term fixed-rate loans, even though buyers deal only with primary market lenders.

Key Takeaways

  • The primary mortgage market is where lenders make loans. The secondary market is where those loans are sold.
  • The secondary mortgage market gives lenders liquidity so they can keep lending.
  • Fannie Mae and Freddie Mac buy loans and guarantee mortgage-backed securities. Both have been in FHFA conservatorship since 2008.
  • Ginnie Mae, part of HUD, guarantees securities backed by FHA, VA and USDA loans and does not buy loans.
  • Conforming loans meet Fannie Mae and Freddie Mac guidelines and loan limits. Jumbo loans exceed the limit.
  • Selling a loan does not change its terms, though the servicer may change.

Ready to test yourself? Take a free practice exam and see how many financing questions you get right. Your progress is saved in your browser, so you can pick up where you left off.