The DJIA added 111.90 points -- 0.77 percent -- on the day to 14,559.65, eclipsing the record set March 22, which was 14,539.14.
The S&P 500 ended within 2 points of its all-time closing high, which was set in October 2007 at 1,565.15.
On Tuesday, the S&P added 12.08 points to 1,563.77, up 0.78 percent.
The tech-oriented Nasdaq composite index also rose, climbing 0.63 percent or 17.18 points to 3,252.48.
On the New York Stock Exchange, 2,092 stocks advanced and 946 declined on a volume of 2.8 billion shares traded.
Stocks were given a boost by a U.S. Commerce Department report on durable goods order, which rose 5.7 percent from January to February.
A closely watched monthly index of U.S. home prices, the S&P-Case/Shiller report, also gave stocks support. The 20-city Composite Index released Tuesday indicated prices rose 8.1 percent in January from 12 months prior.
Ten-year U.S. treasury bonds rose 3/32 to yield 1.914 percent.
Against the dollar, the euro was at $1.2862 from Monday's $1.2853. Against the yen, the dollar was higher at 94.46 yen from 94.41 yen.
In Tokyo, the Nikkei 225 index lost 0.6 percent, 74.84 points, to 12,471.62.
In London, the FTSE 100 index rose 0.33 percent, 20.99 points, to 6,399.37.
Martin Bashir resigns from MSNBC over Sarah Palin comments
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'