The story for investors who own shares of both Palo Alto Networks (NASDAQ:PANW | PANW Price Prediction) and Palantir Technologies (NASDAQ:PLTR) this year has been a study in divergence. Palo Alto Networks stock is up 2% midday Friday, extending a year-to-date gain of 41%. Palantir stock, by contrast, is essentially flat today and is down 23% year to date.
That spread is the real headline here. Two AI-era enterprise software names, both with real franchise value, have moved in opposite directions in 2026. For investors who entered the year overweight both stocks, the portfolio looks very different now than it did in January.
For PANW and PLTR shareholders, the rebalancing question centers on whether the recent gap demands a portfolio rebalancing. Tax treatment, position sizing, and conviction all factor into that call.
Why Palo Alto Networks Has Dominated in 2026
Palo Alto Networks has executed on the platform consolidation story all year. Next-Generation Security ARR reached $6.3 billion in Q2 FY2026, up 33% year over year, and Palo Alto Networks’ management raised its full-year FY2026 revenue guidance to $11.28 billion to $11.31 billion, implying 22% to 23% growth. That guidance bump was a meaningful step up from the prior 14% growth view.
Palo Alto Networks CEO Nikesh Arora has tied the acceleration to AI-native security demand and the pending acquisitions of CyberArk and Chronosphere. “We saw continued strength in platformizations, a trend that is accelerating due to AI,” Arora stated. Polymarket traders assign a 91% probability that Palo Alto Networks beats its next quarterly earnings print, suggesting the momentum lens still has support.
Margin expansion has been the second pillar. Palo Alto Networks’ non-GAAP operating margin hit 30% in Q2 FY2026, the third consecutive quarter above 30%. The valuation reflects that confidence, with PANW shares trading at a forward P/E ratio of 62x against an analyst target price of $223.63.
Why Palantir Has Lagged Year to Date
Palantir’s business has continued to compound. The company’s Q4 2025 revenue grew 70% year over year to $1.41 billion, and U.S. commercial revenue grew 137% year over year to $507 million. Palantir Technologies CEO Alex Karp called out a Rule of 40 score of 127% and guided FY2026 revenue to $7.18 billion to $7.2 billion, 61% growth.
The issue is the valuation multiple. Palantir entered 2026 priced for perfection after an extraordinary multi-year run. PLTR stock now trades at a forward P/E ratio of 94x and a price-to-sales ratio of 63x, leaving little margin for any sentiment shift. The valuation reset has been the dominant narrative driving PLTR stock lower this year.
Moreover, government revenue concentration and lumpy contract timing continue to weigh on sentiment. Polymarket’s most likely closing print for PLTR’s May 2026 monthly target sits at $126, with a 25% probability, signaling that traders aren’t yet pricing in a sharp rebound.
Three Lenses for the Rebalancing Question
The mean reversion lens says trim Palo Alto Networks stock into strength and add to a Palantir share position on weakness. The gap has grown wide, and reversion-minded investors take that as a signal to rebalance back toward target weights.
The momentum lens argues the opposite. Palo Alto Networks has earnings tailwinds, analyst support, and a fresh Wells Fargo Overweight initiation. Selling now means selling into strength, and Palantir’s reset may not be complete given the multiple still embedded in PLTR stock.
The quality lens sidesteps the timing question entirely. Palo Alto Networks and Palantir are both durable AI-era enterprise software franchises with real moats. Long-term shareholders may choose to leave both positions alone and let the businesses compound.
What to Watch
Tax consequences matter. Trimming Palo Alto Networks in a taxable account locks in gains, while Palantir adds in the same account may potentially create no immediate tax friction. (Please note that I am not a tax professional. Be sure to consult with a licensed tax professional for any tax-related issues.) Time horizon matters, too: short-term traders weight momentum, while multi-year holders weight franchise quality.
There isn’t a universal answer here. The honest framing is that PANW stock has done the heavy lifting in 2026, PLTR stock has digested years of prior gains, and the rebalancing decision depends on conviction, taxes, and how concentrated each position has become inside one’s broader portfolio. Investors might revisit their position sizing with those three lenses in mind before the next earnings cycle reshapes the setup again.