Using high frequency intraday data, this paper investigates the herding behavior of institutional and individual investors in the Taiwan stock market. The study finds evidence of herding by both investors but a stronger herding tendency among institutional than among individual investors. Institutional investors herd more on firms with small capitalizations and lower turnovers and they follow positive feedback strategies. The portfolios that institutional investors herd buy outperform those they sell by an average of 1.009% during the 20days after intense trading episodes. By contrast, individual investors herd more on firms with small sizes and higher turnovers, and they crowd to buy (sell) stocks with negative (positive) past returns. The portfolios that individual investors herd buy underperform those they sell by an average of −0.829% during the following 20days. Moreover, these return differences of both investors are more pronounced under a market with higher pressure and among small stocks. These findings suggest that the herding of institutional investors speeds up the price-adjustment process and is more likely to be driven by correlated private information, while individual herding is most likely to be driven by behavior and emotions.