Greenshanks eat insects, worms, molluscs, small fish and crustaceans, feeding both by day and night. They feed by picking from the surface, probing, sweeping and lunging at the edges of mudflats or shallows. They may walk along the shoreline and even chase small fish in the shallow water.