The viviparous sea snakes (Hydrophiinae) are a young radiation of at least 62 species that display spectacular morphological diversity and high levels of local sympatry. To shed light on the mechanisms underlying sea snake diversification, we investigated recent speciation and eco-morphological differentiation in a clade of four nominal species with overlapping ranges in Southeast Asia and Australia. Analyses of morphology and stomach contents identified the presence of two distinct ecomorphs: a 'macrocephalic' ecomorph that reaches >2 m in length, has a large head and feeds on crevice-dwelling eels and gobies; and a 'microcephalic' ecomorph that rarely exceeds 1 m in length, has a small head and narrow fore-body and hunts snake eels in burrows. Mitochondrial sequences show a lack of reciprocal monophyly between ecomorphs and among putative species. However, individual assignment based on newly developed microsatellites separated co-distributed specimens into four significantly differentiated clusters corresponding to morphological species designations, indicating limited recent gene flow and progress towards speciation. A coalescent species tree (based on mitochondrial and nuclear sequences) and isolation-migration model (mitochondrial and microsatellite markers) suggest between one and three transitions between ecomorphs within the last approximately 1.2 million to approximately 840 000 years. In particular, the macrocephalic 'eastern' population of Hydrophis cyanocinctus and microcephalic H. melanocephalus appear to have diverged very recently and rapidly, resulting in major phenotypic differences and restriction of gene flow in sympatry. These results highlight the viviparous sea snakes as a promising system for speciation studies in the marine environment.