The influence of the lunar cycle on the feeding habits, feeding success and selectivity was tested in situ on larval stages of the clingfish Gobiesox marmoratus (Gobiesocidae). Gobiesox marmoratus larvae and their prey were collected in the water column during the lunar cycle in austral spring 2015 and 2016, in shallow waters (<30 m depth) of El Quisco, central Chile. Feeding incidence was high (80-100%) throughout the moon cycle. The diet was composed of 32 prey items, being gastropod larvae and invertebrate eggs the most important. Prey composition varied among lunar phases with the lowest prey richness during new moon. During 2016, G. marmoratus larvae ingested the lowest number, but the largest prey during new moon. In spring 2015, there were no significant changes in the abundance of each prey taxon in the water column among moon phases, but in spring 2016 there were significant differences in the abundance of cypris and copepod nauplii, particularly between full and new moon. Feeding selectivity index showed that gastropod larvae were positively selected throughout the lunar cycle during spring 2015. In spring 2016, invertebrate eggs were selectively ingested in full moon and third quarter, but at a new moon G. marmoratus larvae selected gastropod larvae. Mean temperature of the water column and its vertical gradient and nocturnal cloud cover influences the feeding success of larval G. marmoratus. Lunar illumination favoured only an increase of richness of prey items. Therefore, nocturnal cloud cover precludes a greater influence of lunar illumination in the larval trophic ecology of this cryptobenthic fish.