A monthly loss last recorded during the dot-com unwind has returned to the semiconductor complex, and it arrived while the sector's earnings estimates were still rising.

The iShares Semiconductor ETF (NASDAQ:SOXX) closed July down 21.2%, its worst month since December 2002, according to Koyfin data.

Nearly 24 years separate the two prints.

Every month worse than this one in the fund's history belongs to the 2001–2002 collapse.

The S&P 500 finished the same month flat.