CSX vs UNP: Which Is the Better Buy in 2026?

Last updated November 2026

Short answer

UNP is the larger of the two ($172.85B market cap): the incumbent the market prices for continued execution (20.21x forward earnings, beta 0.85). CSX is the smaller challenger ($92.34B), priced similarly on forward earnings (21.37x): more room to run, but more to prove. If the story you believe is CSX's (Margin and Service Recovery), CSX is the more direct way to own it; if it is UNP's (Pricing Power and Volume Momentum), UNP is.

CSX vs UNP: the tie-breaker metrics

Same yardstick, side by side (as of November 2026). Valuation lined up like this is most meaningful for two names in the same corner of the market, which these are. Figures are approximate; verify before investing.

MetricCSXUNPWhat it tells you
Market cap$92.34B$172.85BSize. The larger name is the incumbent; the smaller has more room to grow and more to prove.
Forward P/E21.3720.21Valuation on next year's expected earnings, the same yardstick for both. Lower is cheaper for that growth; higher means the market is paying up.
Trailing P/E26.0922.69Valuation on the last 12 months. A big drop from trailing to forward means the market expects earnings to jump, so more growth is already in the price.
Beta1.110.85Volatility vs the market. Above 1 swings harder than the index; below 1 is steadier. Higher beta means bigger drawdowns to hold through.
Price vs 52-week range82% of range74% of rangeWhere today's price sits between the 52-week low and high. Near the high is momentum with less margin of safety; near the low is out of favor or a discount, depending on why.
Price / book6.427.85How much you pay over book value. Very high can signal an asset-light, high-return business or a rich price.

Before you buy: how CSX and UNP affect your concentration

The metrics above tell you which is the marginally better business. The bigger risk for most people is not picking the slightly worse stock, it is over-concentrating. CSX and UNP share themes, so owning both, or adding either to what you already hold, can quietly push a large share of your portfolio into one bet.

This is the part a generic comparison page cannot answer, because it depends on what you own. Connect your brokerage and Walnut shows your real, combined CSX and UNP exposure, flags overlap with your existing positions, and tells you if adding one would tip you past a concentration you are comfortable with, read-only by default, with your login staying at your broker. Walnut is not an investment adviser.

What does CSX Corporation (CSX) do?

CSX Corporation, headquartered in Jacksonville, Florida, operates CSX Transportation, a Class I freight railroad spanning roughly 20,000 route miles across 26 eastern U.S. states, the District of Columbia, and two Canadian provinces. The network connects Atlantic and Gulf ports, population centers, and industrial regions, hauling three broad categories of freight: merchandise (chemicals, agriculture, metals, minerals, forest products, automotive, and food and consumer goods), intermodal containers moved in partnership with trucking and shipping lines, and coal (both domestic thermal and export metallurgical). Revenue comes from freight rates negotiated with shippers, fuel surcharges tied to diesel prices, and ancillary services, with the economics driven by network density and precision scheduled railroading that maximizes asset utilization.

Full CSX guide

What does Union Pacific Corporation (UNP) do?

Union Pacific Corporation, headquartered in Omaha, Nebraska, operates the Union Pacific Railroad, which spans more than 30,000 route miles across 23 western U.S. states. The railroad hauls a diversified mix of freight including bulk commodities (coal, grain, fertilizers), industrial products, chemicals, automotive goods, and intermodal containers, connecting U.S. manufacturers, farmers, and ports to domestic and global markets. Revenue is generated through freight rates negotiated with shippers, fuel surcharge mechanisms tied to diesel prices, and ancillary services. The company's precision scheduled railroading (PSR) model focuses on maximizing asset utilization, train length, and velocity while minimizing cost per unit, which has driven sustained operating ratio improvement.

Full UNP guide

CSX vs UNP: how do they differ?

Both fit overlapping themes, but they are not interchangeable. Here is what each one depends on.

  • CSX drivers: Margin and Service Recovery; Intermodal and Pricing Momentum.
  • UNP drivers: Pricing Power and Volume Momentum; Operational Efficiency and PSR Upside.

Which fits which kind of investor

A faster-growing, richer-valued name usually swings harder, so it suits a longer horizon and a higher tolerance for volatility; a steadier, more cash-generative business suits a more conservative or income-minded investor. A useful test is which set of risks you could hold through a drawdown: CSX carries the cyclical risk common to all railroads: freight volumes track industrial production, consumer goods flows, and export demand, so a macroeconomic slowdown would pressure carloads and revenue directly. For UNP, the most immediate risk is regulatory: the Surface Transportation Board's review of the Norfolk Southern merger is drawing active opposition from competitors CSX, which is mobilizing shippers and communities, and Canadian Pacific Kansas City, which asked the board in November 2026 to terminate the review, and UNP has indicated it may walk away if approval conditions exceed a reported $750 million cost threshold, which could also trigger a large breakup fee.

CSX or UNP: which should you pick?

With growth, valuation and volatility this close (or not yet reported for one side), the drivers above are what separate CSX from UNP. Many investors hold both, but since they share themes, that is a concentrated bet, not diversification. Decide deliberately and check overlap. For the full detail, see the CSX and UNP guides.

CSX vs UNP: the full fundamentals

CSX. CSX trades near 26x trailing earnings and about 21x forward after the shares rose about 38% in 2026; the trailing multiple has eased slightly since October because third-quarter earnings grew faster than the price. The valuation embeds both the margin-recovery story and a premium for the scarcity and regulatory-barrier value of an eastern rail franchise amid industry consolidation. Fourth-quarter results are expected around January 28, 2027, with consensus near $0.52 in EPS on about $3.98 billion of revenue; figures are approximate and move with quarterly results and share price.

UNP. At about 23x trailing and 20x forward earnings, UNP trades near the multiple it carried in October, because earnings growth (about 16% year over year in the third quarter) kept pace with a share price up about 26% this year to near $292. That still sits below the roughly $330 average analyst target from 24 analysts. The ~29% net margin and ~41% operating margin show the structural cost advantage of the Class I oligopoly, while the contested Norfolk Southern review keeps both synergy upside and regulatory risk in the price.

Headline figures (approximate, November 2026): CSX shows revenue (ttm) ~$14.9 billion (+~12% YoY in Q3), q3 2026 revenue ~$4.02 billion, q3 2026 eps ~$0.57 vs ~$0.53 consensus; net income ~$1.05 billion, margins (ttm operating / net) ~37% / ~24%; UNP shows revenue (ttm) ~$26.4 billion, revenue growth (q3 2026, year over year) ~15%, operating margin (ttm) ~41%, net income (ttm) ~$7.6 billion (EPS ~$12.82).

The bottom line: CSX vs UNP

CSX and UNP are related but distinct: same themes, different businesses and risks. Neither wins in the abstract, and whichever you pick is worth sizing so one theme does not take over your portfolio. Walnut can show your combined CSX and UNP exposure against your real portfolio. It is not an investment adviser.

Wondering how CSX or UNP fits the portfolio you already own? Walnut is an AI investing app that connects your brokerage read-only and answers questions like that about your actual holdings: overlap, concentration, and how each position tracks the S&P 500. Compare the best AI portfolio analyzers or see the best AI investing apps in 2026.

Your questions about CSX Corporation

Ask Walnut's AI anything about CSX and see how it fits what you own.

FAQ

What is the difference between CSX and UNP?

+

CSX Corporation, headquartered in Jacksonville, Florida, operates CSX Transportation, a Class I freight railroad spanning roughly 20,000 route miles across 26 eastern U.S. Union Pacific Corporation, headquartered in Omaha, Nebraska, operates the Union Pacific Railroad, which spans more than 30,000 route miles across 23 western U.S. They show up together because they share investment themes, but they are different businesses, so the better fit depends on which thesis you are expressing.

Is CSX or UNP the better stock?

+

Neither is universally better. UNP is the larger incumbent; CSX is the smaller challenger and looks pricier on forward earnings. Walnut is informational, not investment advice. Compare what each does, the tie-breaker metrics above, and the risks, then decide which fits your thesis and what you already own.

Which is cheaper, CSX or UNP?

+

On forward P/E (as of November 2026), CSX trades at 21.37x and UNP at 20.21x, so UNP is the cheaper of the two on next year's expected earnings. A lower multiple is not automatically the better buy: a richer valuation can be justified by faster growth, and a lower one can reflect real risk. Weigh the multiple against how fast each business is compounding.

Should you own both CSX and UNP?

+

Because they share themes, owning both concentrates you in that theme. That can be intentional (a focused bet) or accidental (less diversification than it looks). Walnut can show your combined exposure across both, and whether adding either over-concentrates you, before you buy.

What are the risks of CSX vs UNP?

+

CSX: CSX carries the cyclical risk common to all railroads: freight volumes track industrial production, consumer goods flows, and export demand, so a macroeconomic slowdown would pressure carloads and revenue directly. Coal remains a structurally declining and volatile category, and export metallurgical coal in particular swings with global benchmark prices, which weighed on 2025 results. Intermodal pricing has been constrained by soft truckload rates that offer shippers a cheaper substitute, and the 2027 pricing outlook depends on trucking capacity actually tightening. Stubborn diesel prices feed into fuel surcharges and costs. The proposed Union Pacific and Norfolk Southern merger creates regulatory and competitive uncertainty that CSX cannot fully control, and any approval could alter routing, interchange, and pricing dynamics across the network. Rail cost inflation and the capital intensity of maintaining thousands of miles of track add ongoing margin pressure that must be offset with pricing and productivity. Leadership change in operations adds execution risk: the COO who ran the service recovery is retiring in late 2026. After a roughly 38% gain in 2026 the shares trade near 26x trailing earnings and about 21x forward, so a soft fourth quarter would land on a fuller valuation than a year ago. Total debt was about $19.4 billion against about $1.6 billion of cash after the third quarter. UNP: The most immediate risk is regulatory: the Surface Transportation Board's review of the Norfolk Southern merger is drawing active opposition from competitors CSX, which is mobilizing shippers and communities, and Canadian Pacific Kansas City, which asked the board in November 2026 to terminate the review, and UNP has indicated it may walk away if approval conditions exceed a reported $750 million cost threshold, which could also trigger a large breakup fee. A macroeconomic slowdown or recession would reduce carload volumes across nearly every freight category and pressure revenue directly, since rail demand is closely tied to industrial production and consumer goods flows. Intermodal pricing faces ongoing headwinds from depressed full-truckload rates, which limit UNP's ability to raise prices in that segment in the near term. Additionally, rail inflation is expected to run above 4% in 2026, which management must offset with price gains and further productivity improvements to maintain margin progress. A CEO remark from March 2026 became part of the opposition's case, and Jim Vena apologized for it in a November filing. Leadership transition is a smaller, newer consideration: CFO Jennifer Hamann's planned 2027 retirement means a new finance chief will inherit the merger financing and integration work.

Walnut is informational, not investment advice. This page is descriptive and not a recommendation to buy or sell CSX or UNP; figures are approximate and dated (as of November 2026). Verify current data before investing.