Cincyblogs.com
Showing posts with label gain. Show all posts
Showing posts with label gain. Show all posts

Wednesday, June 24, 2026

Fish Bites Section 1239 Trap

 

Let’s talk about how a business purchase transaction can blow up.

The pepper in this stew is that the seller and buyer have different tax goals:

  • The buyer wants to deduct as much as possible. In general, this means that the other side (the seller) will be recognizing ordinary income to offset those ordinary deductions.
  • The seller wants as much capital gains as possible. In general, this means that the other side (the buyer) may have to amortize or depreciate assets over time rather than deducting them immediately.

M&A tax planning at heart comes down to the above tension.

Sometimes reading M&A cases can be difficult: numerous entities, mind-numbing detail, this move, that move, everyone come down and bust a move. Let’s take one case that caught my attention. As we have (sometimes) done before, we will modify the names to make the story easier to follow.

In 1996 Vernon started a one-man technology company in Kansas City. By 2004 it was one of the largest network security companies in the nation.

Let’s call his company Harry.

Vernon wanted cash for his troubles and travails. He would keep majority control of the company, but he would also have cash for little things - like expensive cars and multiple houses. I am with Vernon here.

Petunia was looking to invest in Harry.

Dial-in the tension between the seller and the buyer. Here is what they came up with

  • Vernon owned 100% of Harry, an S corporation.
  • Vernon transferred 100% of his stock in Harry to Hermione, a newly-formed S corporation.

COMMENT: There is a problem here: S corporations generally have to be owned by individuals, estates and certain trusts. A corporation cannot own an S corporation, except for …

  • Harry immediately elected to be a Qualified Subchapter S Subsidiary (QSSS), an exception to that corporation-owning-an-S thing. Hermione owned Harry and it was all okay.
  • Petunia dropped $10.5 million into Hermione in exchange for 43% of newly-issued preferred stock.

COMMENT: The money is now in play. The issue is getting it out to Vernon.

  • We have a problem with Hermione. First, an S corporation must have only one class of stock, and Hermione now had two: common and preferred. Second, a QSSS can have only one shareholder: a parent who owns 100% of the QSSS stock. Hermione now had two shareholders. No surprise …
  • Hermione’s S election blew up.

COMMENT: This was intentional. Harry was deemed to have transferred its interest in Hermione to a new corporation in exchange for 57% of the new stock. Petunia was deemed to have transferred $10.5 million for the remaining 43% interest. We will call the new corporation Ron.

COMMENT: There is a Code section (Section 351) that normally prevents incorporations from being taxable. There are ways to make it taxable, but most planners stay far away from them. One way? Pay money back to an incorporator (in this case, Harry via Hermione). The geek term for this money is “boot.”

  • Ron paid $9.7 million in boot to Harry/Hermione upon reincorporation.

COMMENT: There you go: the planners deliberately sprung the trap. I do not recall ever doing this in my career. Why did they do it? To move the money to Vernon, of course, but also to have a chance at capital gains treatment by rinsing it through a Section 351 transaction.

  • Let’s take stock of where we are.

a.     Petunia wanted ordinary deductions. She now has it in the way of amortization and depreciation. She put money into Hermione/Ron – and that money was buying assets; tangible, intangible, whatever. Petunia never bought stock.

b.    Vernon wanted capital gains. The easiest way would have been to sell Harry/Hermione stock, but Petunia wasn’t interested. All this ambulation was to mimic the sale of stock.

I admit: the tax work up to this point is clever.

But someone overlooked this interloper:

26 U.S. Code § 1239 - Gain from sale of depreciable property between certain related taxpayers

(a) Treatment of gain as ordinary income

In the case of a sale or exchange of property, directly or indirectly, between related persons, any gain recognized to the transferor shall be treated as ordinary income if such property is, in the hands of the transferee, of a character which is subject to the allowance for depreciation provided in section 167.

The idea here is simple: Congress did not want related parties to depreciate assets and then sell them to a related party to start the depreciation over again.

Tax being tax, the words have a loaded meaning. For example, does “depreciation” under Section 167 include amortization, which is the equivalent of depreciation but for intangible assets? “Related persons” also has multiple definitions, depending upon where you are in the Code.

Let’s continue.

Remember that we are dealing with a technology consulting company in Kansas City. This is a not a manufacturing plant in Pennsylvania with all kinds of real estate and machinery and equipment. Most of what Petunia bought for $10.5 million was intangible assets, amortizable under Section 197 over 15 years.

At which point I presume the tax planners stopped, reasoning that Section 197 is not Section 167 and therefore Section 1239 was not an issue.

Except for Reg 1.197-2(g)(8):

Also, an amortizable Section 197 intangible is section 1245 property and Section 1239 applies to any gain recognized upon its sale or exchange between related persons (as defined in Section 1239(b)).”

Buried deep, but there it is. Section 1239 slipped its first noose on the transaction.

But were the parties related? Could Harry/Hermione/Ron avoid the second noose?

Here is Section 267(f):

Think of Section 1563 as applying to consolidated corporations (where corporations own other corporations). Section 267 addresses individuals owning corporations (what we would call brother-sisters). Section 267 is taking a consolidation definition and changing it for brother-sisters. It is changing the definition to make it less stringent.

Section 1239 wants related parties, and Section 267 says you have related with more than 50% common ownership.

Vernon owned 100% of Harry and 100% of Hermione. He also owned 57% of Ron.

Yep, related.

Section 1239 applied.

Vernon got ordinary income, not capital gain, treatment on the $9-plus million dollars.

Petunia got her ordinary deductions - over time and not right away.

It is very tough to accommodate both sides.

But Vernon did get his $9-plus million dollars.

Our case this time, modified a spot for ease of writing and readability, was Fish v Commissioner, T.C. Memo 2013 - 270.

Saturday, February 8, 2025

A Call From Chuck

I was speaking with a client this week. He told me that he recently retired and his financial advisor recommended he discuss a matter with me.

Me:              So, what are we going to talk about?”

Chuck:         I worked for Costco for many years.”

Me:              OK.”

Chuck:         I bought their stock all along.”

Me:              Not sure where this is going. Are you diversifying?”

Chuck:         Have you heard of Net Unrealized Appreciation?”

Me:              Sure have, but how does that apply to you?”

That was not my finest moment. I did not immediately register that Chuck had – for many years – bought Costco stock inside of his 401(k).

Take a look at this stock chart: 


Costco stock was at $313 on February 7, 2020. Five years later it is at $1,043.

It has appreciated – a lot.

I missed the boat on that one.

The appreciation is unrealized because Chuck has not sold the stock.

The difference between the total value of the Costco stock in his 401(k) and his cost in the stock (that is, the amount he paid over the years buying Costco) is the net unrealized appreciation, abbreviated “NUA” and commonly pronounced (NEW-AHH).

And Chuck has a tax option that I was not expecting. His financial advisor did a good job of spotting it.

Let’s make up a few numbers as we talk about the opportunity here.

Say Chuck has 800 shares. At a price of $1,043, the stock is worth $834,400.

Say his average cost is 20 cents on the dollar: $834,400 times 20% = cost of $166,880.

Chuck also owns stocks other than Costco in his 401(k). We will say those stocks are worth $165,600, bring the total value of his 401(k) to an even $1 million.

Chuck retires. What is the likely thing he will do with that 401(k)?

He will rollover the 401(k) to an IRA with Fidelity, T Rowe, Vanguard, or someone like that.

He may wait or not, but eventually he will start taking distributions from the IRA. If he delays long enough the government will force him via required minimum distributions (RMDs).

How is the money taxed when distributed from the IRA?

It is taxed as ordinary income, meaning one can potentially run through all the ordinary tax rates.

It was not that long ago (1980) that the maximum tax rate was 70%. Granted, one would need a lot of income to climb through the rates and get to 70%. But people did. Can you imagine the government forcing you to take a distribution and then taking seventy cents on the dollar as its cut?

Hey, you say. What about those capital gains in the 401(k)?  Is there no tax pop there?

Think of a 401(k) as Las Vegas. What happens in Las Vegas stays in Las Vegas. What leaves Las Vegas is ordinary income.

And that gets us to net unrealized appreciation. Congress saw the possible unfairness of someone owning stock in a regular, ordinary taxable brokerage account rather than a tax-deferred retirement account. The ordinary taxable account can have long-term capital gains. The retirement account cannot.

Back to NEW-AHH.

How much is in that 401(k)?

A million dollars.

How much of that is Costco?

$834,400.

Let’s roll the Costco stock to a taxable brokerage account. Let’s roll the balance ($165,600) to an IRA.

This would normally be financial suicide, as stock going to a taxable account is considered a distribution. Distributions from an IRA are ordinary income. How much is ordinary income tax on $834,400? I can assure you it exceeds my ATM withdrawal limit.

Here is the NUA option:

You pay ordinary tax on your cost - not the value - in that Costco stock.

OK, that knocks it down to tax on $166,880.

It still a lot, but it is substantially less than the general rule.

Does that mean you never pay tax on the appreciation – the $667,520?

Please. Of course you will, eventually. But you now have two potentially huge tax planning options.

First, hold the stock for at least a year and a day and you will pay long-term capital gains (rather than ordinary income tax) rates on the gain.

QUIZ: Let’s say that the above numbers stayed static for a year and a day. You then sold all the stock. How much is your gain? It is $667,520 (that is, $834,400 minus $166,880). You get credit (called “basis” in this context) for the income you previously reported.

What is the second option?

You control when you sell the stock. If you want to sell a bit every year, you can delay paying taxes for years, maybe decades. Contrast this with MRDs, where the government forces you to distribute money from the account.

So why wouldn’t everybody go NUA?

Well, one reason is that (in our example) you pony up cash equal to the tax on the $166,880. I suppose you could sell some of the Costco stock to provide the cash, but that would create another gain triggering another round of tax.

A second reason is your specific tax situation. If you just leave it alone, distributions from a normal retirement account would be taxable as ordinary income. If you NUA, you are paying tax now for the possibility of paying reduced tax in the future. Take two people with differing incomes and taxes and whatnot and you might arrive at two different answers.

Here are high-profile points to remember about net unrealized appreciation:

(1)  There must exist a retirement account at work.

(2)  There must be company stock in that retirement account.

(3)  There is a qualified triggering event. The likely one is that you retired.

(4)  There must be a lump-sum distribution out of that retirement account. At the end of the day, the retirement account must be empty.

(5)  The stock part of the retirement account goes one way (to a taxable account), and the balance goes another way (probably to an IRA).

(6)  The stock must be distributed in kind. Selling the stock and rolling the cash will not work.

BTW taking advantage of NUA does not have to be all or nothing. We used $834,400 as the value of the Costco stock in the above example. You can NUA all of that – or just a portion. Let’s say that you want to NUA $400,000 of the $834,400. Can you do that? Of course you can.

Chuck has a tax decision that I will never have.

Why is that?

CPA firms do not have traded stock.

Monday, January 6, 2025

Section 643 and MSTs

 

I came across the following recently on LinkedIn:

 

The line of tax code that 99% of CPAs can’t understand for some reason.

And because they don’t understand this they make their clients tax planning convoluted and unnecessary.

26 U.S. Code § 643

(3) Capital gains and losses
Gains from the sale or exchange of capital assets shall be excluded to the extent that such gains are allocated to corpus and are not (A) paid, credited, or required to be distributed to any beneficiary during the taxable year, or (B) paid, permanently set aside, or to be used for the purposes specified in section 642(c). 

Stop, just stop.

There is a lot of nonsense going around on social media concerning something called - among other things – a “nongrantor, irrevocable, complex, discretionary, spendthrift trust.”

I just call it a “643 trust.” It is probably unfair as Section 643 has its legitimate place in the Code, but I simply cannot repetitively spray multisyllabic spittle when referring to these.

They have many forms, but one thing is key: Section 643. I met last year with someone who was hawking these things but was unable to find a CPA with his elevated mastery of the tax Code.

Uh huh. Elevator is down the hall, pal.

Let’s walk through these trusts.

The tax Code has numerous sections. Go to Chapter 1 Subchapter J and you will find sections dealing with trusts. You will note that they all have numbers between 641 and 692.

Section 643 is between 641 and 692. We are in the right place.

Trust taxation is not the easiest thing to understand. There are weird concepts. Then there are uncommon terms, such as:

 

·       The grantor – the person who transfers assets to the trust.

·       The income beneficiary – the person entitled to income distributions.

·       The residuary beneficiary – the person entitled to the remainder of the trust when the income beneficiaries are done.

·        Irrevocable trust – a trust where the grantor cannot amend or end the trust after its creation.

·       Complex trust – a trust that can accumulate (that is, retain) its profit.

·       Trustee – the person managing trust assets for the benefit of trust beneficiaries. A trustee is required to act in the best interest of the beneficiaries.

·       Discretionary trust – a trust allowing a trustee the power to decide how and when to distribute assets (including income) to beneficiaries.

Believe it or not, there are also several definitions of income, such as:

 

·       Fiduciary accounting income – income as defined by the trust instrument and state law.

·       Distributable net income – the maximum income available to the trustee for distribution to beneficiaries.

·       Taxable income – income as defined by the tax Code.

And - yes - you can get different answers depending on which definition of income you are looking at.

Why is that?

One reason is possible tension between different beneficiary classes. Say that you create a trust for your son and daughter as income beneficiaries. Upon their death, the remaining trust assets (called corpus) goes to the grandkids, who are the residuary beneficiaries. Your kids may want something to be considered income, as they are entitled to income distributions. The grandkids may prefer something not be considered income, as that something would not be distributed and thereby remain in the trust until eventual distribution to them.

What are common friction points between income and residuary beneficiaries? Here are two repetitive ones: capital gains and depreciation.

For example, one may consider depreciation as a reserve to replace deteriorating physical assets. In that case, it makes sense to allocate depreciation to the residuary beneficiaries, as the assets will eventually go to them. Then again, accountants routinely include depreciation as a current period expense. In that case, depreciation should go to the income beneficiaries along with other current period expenses.

Back to our multisyllabic spittle trust (MST).

Look at Section 643(b):

    26 U.S. Code § 643 - Definitions applicable to subparts A, B, C, and D

(b) Income.

For purposes of this subpart and subparts B, C, and D, the term "income", when not preceded by the words "taxable", "distributable net", "undistributed net", or "gross", means the amount of income of the estate or trust for the taxable year determined under the terms of the governing instrument and applicable local law. Items of gross income constituting extraordinary dividends or taxable stock dividends which the fiduciary, acting in good faith, determines to be allocable to corpus under the terms of the governing instrument and applicable local law shall not be considered income.  

What is this Section trying to do?

Looks like it is trying to define “income” and failing rather badly at it.

Look at the last sentence:

… which the fiduciary, acting in good faith, … shall not be considered income.”

Hmmmmm.

But read the first sentence:

… when not preceded by the words “taxable ….”

Seems to me that last sentence could be the solution to the Riemann Hypothesis and it would not matter once you put the word “taxable” in front of “income.”

Let’s move on to Section 643(a):

Distributable net income.

For purposes of this part, the term “distributable net means, with respect to any taxable year, the taxable income of the estate or trust computed with the following modifications —  

(3) Capital gains and losses         

Gains from the sale or exchange of capital assets shall be excluded to the extent that such gains are allocated to corpus and are not (A) paid, credited, or required to be distributed to any beneficiary during the taxable year, or (B) paid, permanently set aside, or to be used for the purposes specified in section 642(c).  

(4) Extraordinary dividends and taxable stock dividends  

… there shall be excluded those items of gross income constituting extraordinary dividends or taxable stock dividends which the fiduciary, acting in good faith, does not pay or credit to any beneficiary by reason of his determination that such dividends are allocable to corpus under the terms of the governing instrument and applicable local law.

I see the words “shall be excluded.”

I see the extraordinary dividends and taxable stock dividends from Section 643(b). And there is new wording about gains from the sale or exchange of capital assets. Is it possible …?

I also see the words “Distributable net income” at the top.

Let’s go back to our definitions of trust income.

Section 643(a) addresses distributable net income. Think of DNI as Mint Chocolate Chip.

Section 643(b) addresses taxable income. Think of TI as Cookies and Cream.

Mint Chocolate Chip is not Cookies and Cream.

Maybe capital gains are excludable from DNI. Maybe they are not. Either way, that conundrum has nothing to do with capital gains being excludable from taxable income.

The IRS is quite aware of the game being played.

Here is AM 2023-006:

 


One is dancing on the slippery beveled edge of a possible tax shelter.

Just leave these trusts alone. If I could make income nontaxable by running it through a string-a-bunch-of-words-together trust, I would have done so years ago. I might have even retired by now.