Tim Cook, CEO of Apple Inc. Adam Jeffery | CNBC

Technology stocks got clobbered on Wednesday, suffering their worst day in more than seven years, as concerns over rising interest rates punished the overall market, particularly shares of companies that have been the best performers. The S&P 500 Information Technology Index closed at $1,220.62, down 4.8 percent, marking the biggest decline since August 18, 2011, when the index dropped 5.3 percent. All 65 members of the index fell. The broader S&P 500 dropped by 3.3 percent and the Dow Jones Industrial Average tumbled 3.2 percent.

The tech sector includes the largest companies by market cap in the U.S. and those that have been the biggest contributors to the extended rally. Shares of Apple, Microsoft and Amazon are up sharply for the year as investors bet they will continue to deliver strong earnings growth and take market share.