Canadian Optimizer Logo

Contributing Stocks or ETFs In Kind to a TFSA or RRSP: The Tax Rules

By AndrewPublished December 202620 min read
Moving a share into a TFSA or an RRSP is a disposition for tax purposes, even when you never see cash. On the TFSA page, the gain is reported and the loss is not. This page, in the TFSA, RRSP and FHSA tax rules hub, is that disposition.
Contributing Stocks or ETFs In Kind to a TFSA or RRSP: The Tax Rules

An in-kind contribution to a TFSA is a disposition at fair market value. If that value is above your cost, you report the capital gain. If it is below your cost, you cannot claim the loss. The amount that uses TFSA room is the fair market value. An RRSP contribution in kind is that fair market value, and the Income Tax Act makes the loss on a transfer into your TFSA or RRSP nil.

Key takeaways:
  • The CRA's TFSA page says an in-kind contribution is disposed of at fair market value. A gain goes on the return. A loss cannot be claimed. Room falls by the fair market value immediately.
  • Guide T4040, the 2026 retirement-plans guide, defines an RRSP contribution as the amount you pay in cash or in kind, and says in-kind contributions consist of the fair market value of the property. The deduction on line 20800 cannot exceed contributions already made and your RRSP deduction limit.
  • Paragraph 40(2)(g) of the Act makes the loss nil when you dispose of the property to the trust that governs your TFSA, or to an RRSP under which you or your spouse or common-law partner is the annuitant. That denial does not need a second purchase inside 30 days.
  • A swap is a different transaction. Folio S3-F10-C3 says contributions are not swap transactions. A swap still at fair market value is an advantage, and the advantage tax is 100 percent of the advantage the folio describes.
  • Selling first, contributing the cash, and buying the same property back inside the TFSA or RRSP can deny the loss under the superficial-loss rule instead. The capital-losses page adds that denied loss to your cost base only if you are the person who acquired the substitute.

What is an in-kind contribution to a TFSA or an RRSP?

It is a transfer of the investment itself, without selling it for cash first, from a non-registered account into the registered account. The CRA's page Before you contribute to a TFSA says you may make in-kind contributions if they are qualified investments. It describes an in-kind contribution as a transfer of assets, without selling them first, from a non-registered account to the TFSA. The qualified list on that page names guaranteed investment certificates, government and corporate bonds, mutual funds, and securities listed on a designated stock exchange.

The same page draws a line that is easy to miss. An exchange between two registered accounts, such as an RRSP and a TFSA, is not this contribution. The page says you cannot usually exchange securities for cash or for other securities of equal value between two registered accounts. That exchange is the swap discussed below. Contributing from a non-registered account is allowed when the investment is qualified. Moving an already-registered holding from one TFSA to another TFSA is a transfer between plans, not a contribution and not a capital gain. Broker-to-broker transfers of an account you already hold are the account-transfer guide. Frequent trading inside the TFSA after the contribution is a different question, covered in the TFSA day-trading guide.

Guide T4040, RRSPs and Other Registered Plans for Retirement, in the edition whose chapters calculate the 2026 deduction, defines an RRSP contribution as the amount you pay, in cash or in kind, when you contribute to an RRSP. It says in-kind contributions consist of the fair market value of the property. The guide does not repeat the TFSA page's sentence about reporting a capital gain. The gain and the denied loss, for both accounts, are the next two sections. An FHSA that you later move to an RRSP is not an in-kind contribution from a taxable account. That transfer is the FHSA-to-RRSP guide.

What do you report if the investment is worth more than it cost?

The capital gain. The TFSA page says an in-kind contribution is considered disposed of at fair market value at the time of the contribution. If the fair market value is more than the cost of the property, you must report the capital gain on your income tax and benefit return. You have not received a cheque. The definitions page for capital gains calls deemed proceeds of disposition the expression used when you are considered to have received an amount for the disposition, even though you did not actually receive it. Fair market value is that amount for this contribution.

Put the gain on the return for the year of the disposition. A disposition in 2025 belongs on the 2025 tax year return. The taxable portion is one-half of the capital gain. Section 38 of the Income Tax Act, current to November 12, 2026, says a taxpayer's taxable capital gain for the year from a disposition is one-half of the capital gain from that disposition, subject to the paragraphs that zero the gain on certain gifts. A gift of listed securities to a qualified donee is one of those zeros. A contribution to your own TFSA or RRSP is not that gift. The capital-losses page prints an inclusion rate of 50 percent for 2025, and its table prints one-half from 2001 through 2025. It does not print a separate 2026 row. This page does not invent a 2026 rate other than the one-half fraction section 38 still states.

How the gain is computed once you have proceeds, cost, and selling costs is the capital gains guide. The definitions page says adjusted cost base is usually the cost of the property plus expenses to acquire it, such as commissions. Outlays to sell come off the proceeds on a sale. An in-kind contribution often has no commission on a public sale, because there is no public sale. Keep the issuer's fair-market-value figure and your own adjusted cost base. The adjusted cost base guide is the worksheet. How identical shares share one adjusted cost base is the adjusted cost base guide. The definitions page reviewed today does not print that rule, and this page does not rebuild the average.

Why is a loss denied when you contribute the investment in kind?

Because the Act says the loss is nil, and the TFSA page says you cannot claim it. The TFSA page says that if the fair market value is less than the cost of the property, you cannot claim the capital loss. The contribution is still the fair market value. You have crystallized nothing you can deduct. Paragraph 40(2)(g) is the statute. A taxpayer's loss from a disposition is nil to the extent it is any of four things. One of them is a superficial loss. Another, subparagraph (iv), is a loss from the disposition of property to a trust governed by a TFSA, under which the taxpayer is a beneficiary or becomes one immediately after the disposition, or to a trust governed by an RRSP under which the taxpayer or the taxpayer's spouse or common-law partner is an annuitant, or becomes an annuitant within 60 days after the end of the taxation year. An FHSA trust and a RRIF trust are in the same subparagraph.

That denial does not wait for a buy-back. The in-kind contribution is itself the disposition to the trust. The superficial-loss rule is a second nil, under subparagraph 40(2)(g)(i), and it has its own clock. Section 54 defines a superficial loss as a loss from the disposition of a property where, during the period that begins 30 days before and ends 30 days after the disposition, the taxpayer or a person affiliated with the taxpayer acquires the same or identical property, and at the end of that period the taxpayer or an affiliated person still owns it or still has a right to acquire it. The capital-losses page states the same window as 30 calendar days before the sale and 30 calendar days after the sale. The in-kind loss is denied even when nobody buys anything else. The calendar version of the 30-day rule, for a sale you want to keep, is the tax-loss harvesting calendar. The full affiliated-person discussion is the superficial loss guide.

The capital-losses page also says that if you are the person who acquires the substituted property, you can usually add the superficial loss to the adjusted cost base of that property. Read the condition. It is you, not the trust. A direct contribution to the TFSA or RRSP is a disposition to the trust. Subparagraph 40(2)(g)(iv) nils the loss without calling it a superficial loss and without handing you a personal cost-base increase. The trust's later growth is not a capital gain on your return. The denied loss does not come back when you withdraw. That is why the TFSA page's instruction is simply that you cannot claim the loss, not that you postpone it.

How much contribution room or RRSP deduction does the transfer use?

The fair market value, not your cost and not the gain. The TFSA page says the total contribution to the TFSA equals the fair market value of the property, and that this contribution immediately reduces available contribution room by the same amount. A gain you report on the return does not add room. A loss you cannot claim does not shrink the contribution. If the fair market value is above the room you have, the excess is an over-contribution. The room you should read before you move the shares is the point of the TFSA contribution guide. This page does not restate the annual dollar limit.

For an RRSP, Guide T4040 says the in-kind contribution consists of the fair market value of the property. The same definition says the RRSP deduction is the amount you indicate on line 20800, and that the claim is limited by the RRSP, PRPP, or SPP contributions previously made and by your RRSP deduction limit. Contributing property worth more than the limit you can deduct does not create a larger deduction. The unused portion of a contribution follows the guide's rules for contributions you have not deducted yet. How that limit is built, including which calendar year a contribution belongs to, is the RRSP deduction limit guide.

A non-resident contribution is a separate tax. The TFSA page says that if you are a non-resident you cannot contribute to a TFSA tax-free, and that a non-resident contribution, other than a qualifying transfer or an exempt contribution, is taxed at 1% for each month the contribution remains in the account. Residency is a fact. Do not use an in-kind transfer to a TFSA in a year you are not resident and expect the fair-market-value contribution to be ignored.

Why is a swap prohibited when an in-kind contribution is allowed?

Because a contribution is on the folio's list of transfers that are not swaps, and a swap is an advantage even when the price is fair. Income Tax Folio S3-F10-C3 says at paragraph 3.24 that a swap transaction is any transfer of property between a registered plan and its controlling individual, or a person not dealing at arm's length with that individual, subject to the exceptions in paragraphs 3.25 and 3.26. It says the tax applies even if the swap occurred at fair market value. The tax applies to future increases in the total fair market value of property held in connection with the plan that are reasonably attributable to the swap. Paragraph 3.25 says contributions, distributions to the controlling individual, and purchases and sales between two of your plans with the same tax attributes, such as TFSA to TFSA or RRSP to RRSP, are not swap transactions. An in-kind contribution from a non-registered account is a contribution. It is not saved by calling it a swap, and it is not banned by the swap rule.

Paragraph 3.43 says section 207.05 imposes a special tax if an advantage is extended. The amount depends on the advantage. The tax is equal to 100% of the fair market value of a benefit, the amount of a debt, or the amount of a registered plan strip, depending on which kind of advantage it is. Paragraph 3.45 says that where the advantage is an increase in the fair market value of plan property from the transactions in paragraphs 3.16 to 3.26, each increase is a separate advantage. Where 100% of the increase is caught, the folio says the CRA will accept a calendar-year measurement. A swap's advantage is that increase, not a second copy of the contribution rule. Taking cash or securities out of the TFSA and replacing them with other securities from your taxable account, outside a contribution and a withdrawal, is the pattern paragraph 3.24 describes. The TFSA page's warning about exchanges between two registered accounts is the same idea in shorter words.

The folio also shows that an in-kind contribution can still be an advantage when the value recorded is not a real fair market value, or when the shares were issued because of employment and the growth is really compensation. Paragraph 3.43's 100% tax is the consequence the folio attaches to an advantage, not a penalty this page calculates for an ordinary listed ETF. If the issuer's contribution receipt and a reasonable quote of the security disagree, do not file the smaller number because it saves room. The qualified-investment and advantage folios are the technical layer. This page stops at the rule a listed share or ETF actually uses.

What changes if you sell, contribute the cash, and buy the investment back?

The sale is an ordinary disposition, and the cash contribution is a cash contribution. The loss on the sale survives only if the superficial-loss conditions are not met. The capital-losses page says you have a capital loss when you sell, or are considered to have sold, capital property for less than its adjusted cost base plus the outlays and expenses of selling. That loss is a superficial loss if you, or a person affiliated with you, buy the same or identical property in the period starting 30 calendar days before the sale and ending 30 calendar days after the sale, and you or that person still owns it, or still has a right to buy it, 30 calendar days after the sale. The page says you cannot deduct a superficial loss for 2025 when you calculate income for the year.

A purchase inside your TFSA or RRSP is an acquisition by the trust. The capital-losses page's examples of affiliated persons include you and your spouse or common-law partner, you and a corporation you or your spouse control, and a trust and its majority-interest beneficiary. The superficial-loss guide is where affiliated status is discussed at length. For the buy-back, the practical point on the capital-losses page is the second sentence: you can usually add the denied loss to the adjusted cost base only if you are the person who acquired the substituted property. When the TFSA or RRSP trust is the buyer, you are not that person. The addition the page describes does not land on a cost base you will use on a later personal return. The loss is denied, and the registered account's later sale is not your capital loss either.

The sequence that keeps the loss is narrower. Sell in the non-registered account. Contribute cash, not the shares. Do not buy the same or identical property, and do not have an affiliated person buy it, in the 30 calendar days before or the 30 calendar days after, if anyone affiliated would still hold it 30 calendar days after the sale. Buying a fund that is not the same or identical property is outside this rule. The capital-losses page and section 54 do not name which funds are identical to each other, and this page does not clear a ticker pair. A dividend reinvestment that buys more units inside the window is an acquisition. Turn it off before the sale if you want the loss. Selling in December and buying the same holding back inside a TFSA in January is a superficial loss when that purchase falls in the 30-calendar-day window and the property is still held 30 calendar days later.

What records show the fair market value and the old cost?

The issuer's contribution confirmation and your adjusted-cost-base worksheet. The TFSA page ties the contribution, and the proceeds of the disposition, to fair market value at the time of the contribution. The definitions page ties the other half of the gain to adjusted cost base, usually cost plus acquisition expenses. Write down the date, the fair market value the issuer used, the units, and the adjusted cost base those units carried out of the non-registered account. The gain or the denied loss is the difference. You report a gain on Schedule 3 for the year of the disposition. You do not report a loss that paragraph 40(2)(g) or the superficial-loss rule has made nil.

After the transfer, that holding is no longer capital property in your hands. You do not keep a personal adjusted cost base inside the TFSA or the RRSP for a later Schedule 3. The adjusted cost base guide says the same thing from the worksheet's side. A broker's "book value" inside the registered account is not a number you file as a capital gain. If you contribute only some of a group of identical shares, the adjusted cost base that leaves with those units is the adjusted cost base guide's calculation. This page does not restate it.

What does one illustration holding do in kind, at a loss, and as cash?

The three paths use one illustration cost and two illustration values. They are not a quote, not a fund, and not a tax result for a real return. Commissions are zero in the illustration so the arithmetic stays visible. A real commission would change adjusted cost base or proceeds under the definitions page. The one-half fraction is the fraction section 38 states, not a second rate invented for the example.

What this page adds: Illustration only. The same holding, cost $4,000 and fair market value $6,000, contributed in kind, produces a $2,000 capital gain and a $1,000 taxable capital gain, and uses $6,000 of room. The mirror holding, cost $6,000 and fair market value $4,000, contributed in kind, produces no claimable loss and uses $4,000 of room. Selling that loser for $4,000 and contributing the cash keeps a $2,000 capital loss only if nobody affiliated rebuys the same property inside the 30-calendar-day window.

Illustration holding only. Not a real security. Commissions are nil in this table so each difference is visible.
Illustration pathWhat the rules doResult in this illustration
Illustration path 1. In kind, with a gain. Cost $4,000. Fair market value $6,000. For a TFSA, the CRA page treats this as a disposition at fair market value and the gain is reported. Section 38 includes one-half. For an RRSP, Guide T4040 measures the contribution at fair market value. It does not, in the text read for this page, repeat the TFSA gain sentence. Capital gain $2,000. Taxable capital gain $1,000. Contribution $6,000. No loss is available to deny.
Illustration path 2. In kind, with a loss. Cost $6,000. Fair market value $4,000. The TFSA page says you cannot claim the capital loss. Paragraph 40(2)(g) makes the loss nil on the transfer to the TFSA or RRSP trust. The contribution is still the fair market value. The $2,000 difference is not a deductible capital loss. Contribution $4,000. Nothing is added to a personal adjusted cost base.
Illustration path 3. Sell, contribute cash, and do not rebuy. Same loser: cost $6,000, sale price $4,000. The capital-losses page measures a capital loss against adjusted cost base. The loss stands if the superficial-loss conditions are not met. The cash contribution equals the cash. Capital loss $2,000. The allowable portion uses the inclusion rate, and a net capital loss applies against taxable capital gains, not against other income. Cash contribution $4,000. A rebuy of the same property in the TFSA or RRSP inside 30 calendar days, still held 30 calendar days later, makes this the denied-loss case instead.

Path 1 and path 2 are the in-kind contribution. Path 3 is the alternative the capital-losses page leaves open, and it closes again the moment the registered account, you, or an affiliated person acquires the identical property inside the window and still holds it at the end. Path 2 is not improved by waiting until the window has passed, because paragraph 40(2)(g)(iv) does not have a waiting-period exception. The loss on a direct contribution is nil on the day you contribute. Provincial tax is not in the table. The taxable capital gain of $1,000 is one-half of $2,000. What that $1,000 does to tax depends on the bracket the rest of the return is already in. This table does not compute that tax. A net capital loss that survives path 3 is carried under the ordinary capital-loss rules, not under this contribution.

Frequently asked questions

Does the TFSA or the RRSP pay the tax on the gain?

No. You report a TFSA in-kind gain yourself. The TFSA page says you report the capital gain on your return. Guide T4040 measures an RRSP contribution in kind at fair market value and, in the text reviewed, does not repeat that reporting sentence. Growth after the contribution is tax-free in a TFSA, and it is taxed as income when it later comes out of an RRSP.

Can you contribute a loss in kind and claim it later?

No. The TFSA page says you cannot claim the capital loss. Paragraph 40(2)(g) says the loss is nil. It is not a superficial loss that the capital-losses page tells you to add to your own adjusted cost base, because you did not acquire the substituted property. The trust did.

Is a cash contribution safer than an in-kind contribution of a winner?

It is the same tax if you sell first and the sale price is the fair market value you would have used in kind. You report the gain either way. In kind skips the spread and the commission of a round trip. It does not skip the gain. On a loser, cash after a sale is the path that can keep the loss, and only if the rebuy stays outside the superficial-loss window.

Do you have to use the closing price?

You have to use fair market value at the time of the contribution. The TFSA page and Guide T4040 both say fair market value. Neither page, on the text reviewed, prints a rule that the value must be the exchange's closing price, a bid price, or an average of the day's quotes. The issuer records a figure. If that figure is not a price you can explain for a listed security, the folio's advantage rules are the reason to stop. This page does not invent a pricing formula.

Does an in-kind contribution to a spouse's RRSP deny your loss?

Paragraph 40(2)(g) says the loss is nil if the RRSP trust is one under which your spouse or common-law partner is the annuitant, or becomes the annuitant within 60 days after the end of the taxation year. The contribution amount is still fair market value under the T4040 definition of an RRSP contribution. Whose deduction it is, and whether a spousal contribution uses your limit, is the deduction-limit guide. This page does not restate attribution of the income that later comes out.

Sources

Related reading

The contribution is a disposition. The return is where it shows up.

Adjusted cost base, the taxable half of a gain, and the room the fair market value uses are one filing problem. The 2026 tax guide is that companion, $49 CAD.

Get the 2026 Tax Guide — $49 CAD
RRSP Over-Contribution: The $2,000 Buffer, 1% Tax and How to Fix It
Taxes

RRSP Over-Contribution: The $2,000 Buffer, 1% Tax and How to Fix It

How the CRA measures an RRSP excess for 2026: unused contributions above your deduction limit plus the $2,000 allowance, the 1% monthly tax, T1-OVP and T1-OVP-S, and T3012A, T746 and RC2503.

Andrew·2026-12-04
Moving an Unused FHSA to Your RRSP: Rules, Deadlines and Tax
Taxes

Moving an Unused FHSA to Your RRSP: Rules, Deadlines and Tax

How an unused FHSA transfers to an RRSP or RRIF without using deduction room, when the 15-year, age-71 and qualifying-withdrawal clocks force it closed, and how the Act’s 14th anniversary says the same date.

Andrew·2026-12-04
RRSP Lifelong Learning Plan: Withdraw for School and Repay It
Taxes

RRSP Lifelong Learning Plan: Withdraw for School and Repay It

Who can use the RRSP Lifelong Learning Plan, the $10,000 and $20,000 caps, Form RC96, and when the 10-year repayment starts if you miss a year.

Andrew·2026-12-02

Want more Canadian Optimizer in your Google results? Add us as a favorite.