The Dow and S&P closed at all-time highs of 14,164 and 1,565 in October 2007.
Tech stocks weighed on the Nasdaq, which closed flat.
Stocks have been climbing higher for most of the past year as worries about the European sovereign debt crisis have receded, and the global economy continues to prove its resilience.
A pickup in housing has bolstered investor optimism, and once again the sector showed signs of strength Tuesday.
Home prices posted their biggest jump in 6 years,while shares of homebuilder DR Horton ( jumped more than 10% after the company more than doubled its quarterly profit. )
Shares of Pfizer (Fortune 500) led the Dow's gains, following the drugmaker's better-than-expected quarterly results. Shares of rival , Eli Lilly and Co (Fortune 500) also rallied after the company beat quarterly earnings and sales forecasts. ,
Ford (Fortune 500) was a major drag on the broader market. The car company posted higher , fourth-quarter income and sales, boosted by strong results in North America. But worse-than-expected weakness from Europe weighed on Ford's shares, which slid 5%.
Glass maker Corning (Fortune 500)also got a big boost after delivering earnings and sales ahead of forecasts. ,
On the downside, shares of data storage equipment maker EMC (Fortune 500) plunged after the company's earnings outlook fell short of estimates. ,
Shares of VMWare ( dropped more than 20% after the company lowered its 2013 guidance and announced a strategic restructuring. )
Shares of Amazon.com (Fortune 500) surged after hours even though the company missed analyst forecasts and issued lowered guidance for 2013. ,
Research in Motion ( dropped 3% one day before the company plans to release a new Blackberry 10. )Facebook ( will release earnings after the bell Wednesday, and its stock dropped more than 5%. Shares of )Groupon ( also fell 2%. )
Tuesday also marked the start of the Federal Reserve's first monetary policy meeting of the year. At the conclusion of the two-day meeting Wednesday afternoon, investors will look for clues from the central bank's statement for when the bond buying program could end.
The dollar declined versus the euro and the British pound, but gained ground against the Japanese yen.
Oil prices dipped, while gold prices rose slightly.
|Fast food worker: Protest didn't cost me pay|
|2 million Facebook, Gmail and Twitter passwords stolen in massive hack|
|Job growth drives mortgage rate jump|
|GM to discontinue Chevrolet brand in Europe|
|Ron Paul: Bitcoin could 'destroy the dollar'|
|Overnight Avg Rate||Latest||Change||Last Week|
|30 yr fixed||4.52%||4.38%|
|15 yr fixed||3.54%||3.42%|
|30 yr refi||4.51%||4.37%|
|15 yr refi||3.53%||3.41%|
Today's featured rates: