The diets of the mangrove crabs, Metopograpsus frontalis Miers and Perisesarma bidens de Haan, were investigated monthly for 13 months at two Hong Kong mangroves, to examine possible spatial and temporal influences on their feeding ecology. In both species, a higher degree of gut fullness was observed in summer (May-September) than in winter, suggesting a reduction in winter foraging activity. M. frontalis was omnivorous, with animal and plant materials and inorganic sediments being the major food items. P. bidens was detritivorous, with plant materials and inorganic sediment dominating the gut contents. M. frontalis is, therefore, an opportunistic feeder, whilst P. bidens, like many other members of the Sesarmidae, is a detritivore. Some degree of seasonal variation was shown in the diet of M. frontalis (with more algal material in winter) and P. bidens (with more sediments in summer), but diets were similar between sexes in both species. The dietary pattern of M. frontalis also varied between sites. The diets of the crabs, therefore, appear to be a result of the interplay between the seasonal, physical climate and biological factors, especially food availability and the crabs' ecology. Results suggest that the predatory role of Metopograpsus, which has been poorly studied, is potentially important to estuarine food webs; whilst the trophic importance of sesarmid crabs, such as Perisesarma, especially in mangrove outwelling, should be critically re-evaluated.