Bernanke gave a somber view of the economy, which was echoed by a separate report showing new home sales unexpectedly slumped to a record low in January. But investors were encouraged by the likelihood this will keep rates low. Much of last year's equities rally was driven by ultra-low rates that pushed money into stocks.
The desire to have interest rates stay low is because the outlook is still problematic at best, said Jim Grefenstette, senior portfolio manager of the Federated Mid-Cap Growth Strategies Fund in Pittsburgh, Pennsylvania.
The fear is that the Fed is going to do something that will choke off optimism, and Bernanke told you they're not going to do that. That punch bowl is going to stay at the party for a while.
Sectors hardest hit by Tuesday's selloff rebounded on Wednesday, including financials and technology. Dow component International Business Machines Corp gained nearly 1 percent to $127.56.
The Dow Jones industrial average <.DJI> gained 98.86 points, or 0.96 percent, to 10,381.27. The Standard & Poor's 500 Index <.SPX> rose 10.75 points, or 0.98 percent, to 1,105.35. The Nasdaq Composite Index <.IXIC> climbed 25.66 points, or 1.16 percent, to 2,239.10.
On the Nasdaq, Autodesk Inc jumped 10.5 percent to $28.36 a day after the architectural software maker posted better-than-expected quarterly profit.
Homebuilder stocks tumbled after government data showed sales of newly built single-family homes fell for a third straight month. D.R. Horton Inc was off 1.8 percent to $12.35, pushing down the Dow Jones Home construction index <.DJUSHB> by nearly 1 percent.
Bernanke's testimony before the U.S. House of Representatives Financial Services Committee was his first appearance since the central bank raised the discount interest rate last week. While the move was anticipated, the timing was sooner than expected.
Elsewhere, securities regulators adopted a new rule that restricts short selling in stocks that have fallen more than 10 percent on any given day, more than a year after the financial crisis provoked cries to rein in investors who bet on a stock's decline.
(Editing by Jeffrey Benkoe)

![Miss USA 2013: Meet The 51 Contestants Competing In The Beauty Pageant [PHOTOS] Miss USA 2013: Meet The 51 Contestants Competing In The Beauty Pageant [PHOTOS]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_multimedia/public/2013/06/13/miss-usa-contestants_14.jpg)


![Stephen Hester Ousted As Royal Bank Of Scotland (RBS) CEO Following Bank's Talks With UK Treasury [VIDEO] Stephen Hester Ousted As Royal Bank Of Scotland (RBS) CEO Following Bank's Talks With UK Treasury [VIDEO]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_medium/public/2013/06/12/rtr3dngo.jpg)
![Hong Kong House Prices Shoot Up, Greek House Prices Plummet [MAP] Hong Kong House Prices Shoot Up, Greek House Prices Plummet [MAP]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_medium/public/2013/06/11/knight-rank-house-prices.png)


![Turkish Riot Police Enter Taksim Square: Riot Police Clash With Protesters In Attempt To Break Up Protests [PHOTOS] Turkish Riot Police Enter Taksim Square: Riot Police Clash With Protesters In Attempt To Break Up Protests [PHOTOS]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_medium/public/2013/06/11/protester-taking-cover.jpg)
![Flooding In Europe: Floods In Germany, Austria, The Czech Republic, Hungary And Slovakia In Pictures [PHOTOS] Flooding In Europe: Floods In Germany, Austria, The Czech Republic, Hungary And Slovakia In Pictures [PHOTOS]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_medium/public/2013/06/11/flooding-europe-billboard.jpg)
![Robin Thicke Credits Justin Timberlake For Success Of Chart Topping Single 'Blurred Lines' [VIDEO] Robin Thicke Credits Justin Timberlake For Success Of Chart Topping Single 'Blurred Lines' [VIDEO]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_multimedia/public/2011/11/21/193689-singer-robin-thicke-poses-backstage-at-the-2011-american-music-awards-.jpg)






![Fed Chairman Ben Bernanke Press Conference, FOMC Decision: Live Blog [VIDEO] Fed Chairman Ben Bernanke Press Conference, FOMC Decision: Live Blog [VIDEO]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_small/public/2013/06/19/bernanke-news-conference-19june2013.jpg)



![Apple iOS 7: New Features Dazzle At WWDC 2013, Designed To 'Bring Order To Complexity' [PHOTOS] Apple iOS 7: New Features Dazzle At WWDC 2013, Designed To 'Bring Order To Complexity' [PHOTOS]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_small/public/2013/06/10/iphone5-ios-7.jpg)


![Unpaid Intern Lawsuit Against Atlantic Records And Warner Music Group Tests Legality Of Music Industry Internships [EXCLUSIVE] Unpaid Intern Lawsuit Against Atlantic Records And Warner Music Group Tests Legality Of Music Industry Internships [EXCLUSIVE]](http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_small/public/2013/06/17/wmg.jpg)




Like or Follow us for updates on the biggest stories!