×

Nasdaq closes at record, Dow up 100 points on Greece hopes

U.S. stocks closed higher on Monday, following a global rally in equities, as investors cheered signs of progress in the Greece debt negotiations. ( Tweet This )

The Nasdaq Composite set a new closing and intraday record, topping the highs set on Thursday. Apple closed up 0.80 percent, while the iShares Nasdaq Biotechnology ETF (IBB) gained 1.5 percent.

The Russell 2000 also ended at a record after earlier hitting a new intraday high.

"The two binary issues out there was the Fed and Greece, and both of those (appear) resolved for the next 12 to 18 months," said Jack Ablin, chief investment officer at BMO Private Bank.

The Dow Jones industrial average closed up about 103 points after gaining as much as 166 points. Goldman Sachs, JPMorgan Chase and American Express rose more than 1 percent to be among index leaders. Financials gained nearly 1 percent as the second-best performer in the S&P 500.

The Dow transports closed up about 0.80 percent after briefly rising more than 1 percent as airlines surged. Barron's gave a favorable outlook on the sector based on lower fuel costs and lack of competition.

Stocks came off session highs in midday trade as investors weighed gains in the dollar and yields, as well as euro zone leaders' remarks on the Greece debt talks.

"We may well be in a position where it's hard to see how optimistic we should be on Greece," said Art Hogan, chief market strategist at Wunderlich Securities.

European equities surged on hopes of resolution in the Greece debt talks, helping Dow futures in the United States gain 150 pionts. The German DAX closed up more than 3.5 percent, while the STOXX Europe 600 gained 2 percent. The ATHEX Composite leaped 9 percent.

"Today is obviously all about Greece and the fact there might be some breaking of the ice," said Ben Pace, chief investment officer at HPM Partners. "Perhaps the market's getting a little ahead of itself because it's just talks, but there's light at the end of the tunnel."

Read MorePsst! Here's the secret about Greek debt drama

The Eurogroup of euro zone finance ministers concluded a meeting in Brussels on Monday and will meet again later in the week on the Greek debt crisis. Meanwhile, European Union leaders were set to end an emergency meeting later in the day.

Eurogroup President Jeroen Dijsselbloem said Greece's new proposals are a "welcome step" but not enough to solidify a deal today. Over the weekend, Greece's Prime Minister Alexis Tsipras showed new willingness to make concessions that would unlock aid needed to avoid a default.

Among the more negative comments on the debt talk developments, German chancellor Angela Merkel said in a Reuters report there was no basis on which Greece's creditors could make a decision and that Monday's summit of euro zone leaders was only advisory in nature.

The cash-strapped country faces a 1.5 billion euro ($1.7 billion) payment to the International Monetary Fund (IMF) at the end of the month. If no deal is reached, many speculate Athens will need to impose capital controls to avoid a banking crisis as savers withdraw their bank deposits.

The European Central Bank raised the ceiling on emergency liquidity for Greek banks for the third time in six days, a banking source told Reuters on Monday.

Read MoreGreece gets funding lifeline; crunch talks continue

Peter Boockvar, chief market analyst at The Lindsey Group, said markets should look beyond Greece and focus on the global rise in interest rates.

"For U.S. stocks, I don't think they've blinked much over the past few months over worries with Greece. The euro by the way is flat on the day," he said in a morning note.

The U.S. dollar edged higher, with the euro holding lower $1.134. The U.S. 10-year Treasury yield jumped to 2.37 percent, boosted by optimism on Greece and strong U.S. data.

In economic news Monday, existing home sales jumped 5.1 percent in May to a 5-1/2-year high. Durable goods and new home sales are due Tuesday.

The German 10-year bund yield surged to trade near 0.88 percent. Greek yields on 10-year and 2-year bonds fell sharply from highs hit on Thursday.

Read More Dollar bulls waiting for Greece to subside

Bruce Bittles, chief investment strategist at RW Baird, said the movement in the bond market was partly a reversal of Friday's flight to safety amid uncertainty over Greece.

Outside of Friday's pullback in stocks, Bittles said, "I think the turn came on Thursday, basically when the Fed pretty well assured markets they would remain accomodative." He also cited continued improvement in economic data and investor sentiment.

Stocks rallied last week on the dovish Fed statement, with the Nasdaq Composite topping its high from March 2000 during the tech bubble.

In corporate news, Sequential Brands will buy Martha Stewart Living for $6.15 a share in cash and stock. Both stocks ended in the red, down 1 percent and 12 percent, respectively.

Health care insurers remain in focus. Over the weekend, Cigna rejected Anthem's $47 billion takeover proposal amid Cigna's and Aetna's attempts to buy Humana, which closed 6 percent lower on Monday. Cigna, Anthem and Aetna gained 3 percent or more.

Read MoreEarly movers: CI, WMB, PFE, ALL, AAPL, BAX & more

Energy Transfer Equity closed more than 3 percent lower following news the energy assets portfolio firm confirmed an unsolicited $48 billion bid for natural gas firm Williams Companies, according to Reuters. Williams surged nearly 26 percent.

The Dow Jones Industrial Average closed up 103.83, or 0.58 percent, at 18,119.78, with Goldman Sachs leading advancers and Cisco the leading decliners.

The S&P 500 closed up 12.86 points, or 0.61 percent, at 2,122.85, with energy leading nine sectors higher and utilities the only laggard.

The Nasdaq closed up 36.97, or 0.72 percent, at 5,153.97. The index hit an intraday record of 5,162.13 earlier in the day.

The CBOE Volatility Index (VIX), widely considered the best gauge of fear in the market, traded below 13.

About three stocks advanced for every two decliners on the New York Stock Exchange, with an exchange volume of 714 million and and a composite volume of 3.0 billion in the close.

Crude oil futures settled up 7 cents at $59.68 a barrel on the New York Mercantile Exchange. Gold futures ended $17.80 lower at $1,184.10 an ounce.

On tap this week:

Tuesday

Earnings: BlackBerry, Darden Restaurants

8:30 am: Fed Gov. Jerome Powell on economy and monetary policy

8:30 am: Durable goods

9:00 am: FHFA HPI

9:45 am: Manufacturing PMI

10:00 am: New home sales

1:00 pm: Two-year auction

Wednesday

8:30 am: Real Q1 GDP (3rd)

1:00 pm: Five-year auction

Thursday

8:00 am: Fed Gov. Daniel Tarullo on economy and financial regulation

8:30 am: Initial claims

8:30 am: Personal income/spending

9:45 am: Services PMI

9:45 am: Fed Gov. Jerome Powell on payment system

1:00 pm: 7-year note auction

Earnings: Nike

Friday

10:00 am: Consumer sentiment

12:45 pm: Kansas City Fed President Esther George on the payments system

More from CNBC.com: