Can you sell a house with a tenant in it?

Yes. A landlord can sell a house that has tenants in it, and Pennsylvania law carries the landlord’s obligations over to the buyer. The Landlord and Tenant Act says that any person who acquires real property “by descent or purchase shall be liable to the same duties and shall have the same rights, powers and remedies in relation to the property as the person from whom title was acquired” (Pennsylvania General Assembly, Section 104).

So the starting point for tenant rights when a landlord sells property in PA is simple: the sale changes who the landlord is, and the lease goes on.

Tenant rights when a landlord sells property in PA

Here is what carries over to the new owner in an ordinary sale:

  • The lease. The tenant keeps the right to stay for the rest of the term, on the same rent and terms. A lease of up to three years can be oral or written; a lease of more than three years must be in writing, or it counts only as a lease at will (Landlord and Tenant Act, Sections 201 and 202).
  • The security deposit rules. The deposit cap, the escrow rules, and the 30-day return rule described below are written as duties of the landlord, and the Act gives a buyer the same duties as the seller (Landlord and Tenant Act, Section 104).
  • The notice rules. A new owner who wants the house empty must follow the same notice to quit as the old one (Landlord and Tenant Act, Section 501).
  • The court process. If a tenant does not leave, the Act’s process for the new owner, as for any landlord, is a complaint before the magisterial district judge (Landlord and Tenant Act, Sections 502 and 503).

Fair housing protections also stay in place. In the City of Pittsburgh, the law protects people from discrimination in housing based on protected classes that include race, color, religion, national origin, sex, familial status, disability, and housing status. The Pittsburgh Commission on Human Relations takes questions and complaints at 412-255-2600, and housing complaints can also go to the U.S. Department of Housing and Urban Development (HUD) (City of Pittsburgh).

Selling a home with tenants: what the landlord still owes

Until closing, the seller is still the landlord. The lease, not the sale, sets most of the day-to-day rules, including when and how the landlord may enter for showings, appraisals, and inspections. If you are the landlord, read the entry terms in your lease before you list, and give tenants as much warning as you can. If you are the tenant, ask to see the lease terms the landlord is relying on.

Before closing, the seller and buyer settle in the agreement of sale how the deposits, any prepaid rent, and the current month’s rent pass to the buyer. After closing, tenants should get written word of who the new owner is and where to pay rent.

What happens to the security deposit

Pennsylvania’s deposit rules apply to residential leases and cannot be waived in the lease (Landlord and Tenant Act, Sections 511.1 and 512):

  • The cap. No landlord “may require a sum in excess of two months’ rent” in the first year of a lease. In the second and later years, or any renewal, the deposit may not exceed one month’s rent. After a tenant has been in the home five years or more, a rent increase cannot bring a bigger deposit with it (Landlord and Tenant Act, Section 511.1).
  • Escrow and interest. After the second anniversary of the deposit, any amount over $100 must be held in an escrow account at a regulated bank, and the landlord must tell the tenant in writing the bank’s name and address and the amount. The interest belongs to the tenant, less a 1% yearly administrative fee for the landlord, and is paid each year on the lease anniversary (Landlord and Tenant Act, Section 511.2).
  • The return. Within 30 days after the lease ends or the tenant surrenders the home, the landlord must give the tenant a written list of any damages the landlord claims and pay back the difference. A landlord who misses the 30 days forfeits the right to keep any of the deposit for damages, and one who fails to pay back what is owed can be liable for double the amount wrongly kept. A tenant who does not give the landlord a new address in writing loses that protection (Landlord and Tenant Act, Section 512).

Because a sale gives the buyer the seller’s duties (Landlord and Tenant Act, Section 104), the agreement of sale should record how the deposits and any interest pass to the buyer, with a written record both sides keep. A landlord-tenant attorney can say who answers to the tenant if that hand-off goes wrong.

Selling the house with tenants: can the new owner make you leave?

The new owner follows the same process the Act sets for any landlord: notice, then a complaint before the magisterial district judge.

Notice to quit. To end a tenancy at the end of its term, or after a breach of the lease, the landlord gives written notice. For a lease “of one year or less or for an indeterminate time,” the tenant must leave “within fifteen days” of service; for a lease of more than one year, “within thirty days.” For unpaid rent, the notice is ten days. The notice “may be for a lesser time or may be waived by the tenant if the lease so provides,” and it can be handed to the tenant or posted on the property (Landlord and Tenant Act, Section 501).

The court case. If the tenant stays after the notice period, the landlord files a complaint with the magisterial district judge. The tenant is summoned to a hearing set “not less than seven nor more than ten days” from the date of the summons (Landlord and Tenant Act, Section 502). If the landlord wins, a writ of possession can issue after the fifth day following the judgment, and it is carried out on the eleventh day after it is served on the tenant (Landlord and Tenant Act, Section 503).

The appeal. In Allegheny County, a tenant who loses before the magisterial district judge can appeal to the Court of Common Pleas within 10 days of the hearing, through the Housing Court Help Desk, to stay in the home during the appeal (Allegheny County Court of Common Pleas).

When the sale is a foreclosure

A sheriff sale after a foreclosure is not an ordinary sale, and two sets of rules apply.

Under state law, a tenant’s right to stay outranks a judicial sale buyer “if and only if” the lease began before the judgment that led to the sale and before the mortgage was recorded (Landlord and Tenant Act, Section 304).

Federal law sets a floor on top of that. Under the Protecting Tenants at Foreclosure Act, the new owner after a foreclosure must give a bona fide tenant a notice to vacate “at least 90 days before the effective date of such notice.” A tenant with a bona fide lease signed before the notice of foreclosure can stay “until the end of the remaining term of the lease,” except that the lease can end on 90 days’ notice if the home is sold to a buyer “who will occupy the unit as a primary residence.” A lease is bona fide only if the tenant is not the borrower or the borrower’s child, spouse, or parent, the lease was an arm’s-length deal, and the rent is not substantially below fair market rent, unless it is reduced by a government subsidy (12 U.S.C. § 5220 note). The Act also preserves any state or local law that gives tenants longer periods.

If you are a landlord behind on the mortgage, our guide to facing foreclosure in Pittsburgh lists the options and free local help.

If you are the tenant: where to get help

  • Allegheny County Housing Court Help Desk: assists both landlords and tenants in residential landlord-tenant cases. City-County Building, first floor, 414 Grant Street, Pittsburgh. Phone 412-350-4462 (Allegheny County Court of Common Pleas).
  • Pittsburgh Commission on Human Relations: for housing discrimination questions and complaints in the city, 412-255-2600.
  • A Pennsylvania attorney: for advice on your own lease, notice, or deposit.

If you are the landlord

Selling with tenants in place, waiting for a lease to end, and selling to your tenant each have different timelines. Our hub on selling a rental property with tenants compares them, and capital gains on rental property explains the tax side. A landlord-tenant attorney can tell you how the rules apply to your leases before you sign an agreement of sale.