The Australian intertidal ant, Polyrhachis sokolova lives in mudflat habitats and nests at the base of mangroves. They are solitary foraging ants that rely on visual cues. The ants are active during low tides at both day and night and thus experience a wide range of light intensities. We here ask the extent to which the compound eyes of P. sokolova reflect the fact that they operate during both day and night. The ants have typical apposition compound eyes with 596 ommatidia per eye and an interommatidial angle of 6.0°. We find the ants have developed large lenses (33 μm in diameter) and wide rhabdoms (5 μm in diameter) to make their eyes highly sensitive to low light conditions. To be active at bright light conditions, the ants have developed an extreme pupillary mechanism during which the primary pigment cells constrict the crystalline cone to form a narrow tract of 0.5 μm wide and 16 μm long. This pupillary mechanism protects the photoreceptors from bright light, making the eyes less sensitive during the day. The dorsal rim area of their compound eye has specialised photoreceptors that could aid in detecting the orientation of the pattern of polarised skylight, which would assist the animals to determine compass directions required while navigating between nest and food sources.