(For a Reuters live blog on U.S., UK and European stock markets, click or type LIVE/ in a news window.) (Updates with unofficial closing prices from 1600 EDT/ 2000 GMT)

June 27 (Reuters) - U.S. stock indexes rebounded on Tuesday from a recent losing streak as upbeat economic data soothed investor worries about an imminent recession triggered by the Federal Reserve's aggressive interest rate hikes.

Separate reports showed new orders for key U.S.-manufactured capital goods unexpectedly rose in May, and sales of new single-family homes surged in the same month, while U.S. consumer confidence increased to a near 1-1/2 year high in June.

While the economic data was encouraging, Rhys Williams, chief strategist at Spouting Rock Asset Management, said the market also rose on seasonal factors.

"You'd a bad week in the stock market last week and a bad day on Monday. It's just a bit of recovery," said Williams. "There could be some quarter-end window-dressing too as we get close to the end of the quarter."

The blue-chip Dow Jones Industrial Average snapped a six-day losing streak on Tuesday while the tech-heavy Nasdaq Composite was eyeing its best first-half performance in 40 years and the S&P 500 advanced after falling in five of the last six sessions.

According to preliminary data, the S&P 500 gained 49.25 points, or 1.14%, to end at 4,378.07 points, while the Nasdaq Composite gained 219.71 points, or 1.65%, to 13,555.49. The Dow Jones Industrial Average rose 210.66 points, or 0.62%, to 33,925.37.

Signs of U.S. economic resilience also boosted the Dow Transports index and small-cap Russell 2000 index.

And the PHLX Housing index hit an all-time high on Tuesday.

Traders were pricing in a roughly 77% chance the Fed will raise interest rates by 25 bps to the 5.25%-5.50% range in its July meeting, according to CME Group's Fedwatch tool, up from 74.4% a day earlier.

More economic data is expected this week, including a key inflation measure, as well as Fed Chair Jerome Powell's speech at the European Central Bank Forum in Sintra, Portugal, which could provide cues on the path of interest rates.

Powell's hawkish comments last week stalled a U.S. stock rally that had pushed the S&P 500 and Nasdaq to an over one-year high and the Dow to a six-month peak.

Despite recent market weakness, a growth stocks rally, an upbeat earnings season and hopes of the Fed ending its monetary tightening soon have set the main indexes on course for quarterly gains.

Market heavyweights Microsoft Corp and Apple Inc were among the biggest boosts to the S&P 500 during the session, along with Amazon.com Inc, Tesla Inc and Nvidia Corp.

Meta Platforms Inc shares rose after Citigroup raised its price target on the stock.

Snowflake climbed after the cloud data analytics company announced a partnership with Nvidia to allow customers to build artificial intelligence models using their own data.

Walgreens Boots Alliance shares sank as the pharmacy chain cut its annual profit forecast on lower demand for COVID-19 tests and vaccines.

Other drugstore chains, including CVS Health Corp and Rite Aid Corp, also fell.

Lordstown Motors Corp shares slumped after the U.S. electric truck manufacturer filed for bankruptcy protection and put itself up for sale. (Reporting by Sinéad Carew in New York, Sruthi Shankar, Johann M Cherian in Bengaluru and Terence Gabriel in New York; Editing by Shinjini Ganguli and Richard Chang)