There is a significant gap in the availability of comprehensive identification keys for the early larval stages of forensically important fly species. While well-documented identification keys exist for the third instar larvae, particularly for the Calliphoridae, Muscidae and Sarcophagidae families, there is a notable scarcity of keys for the first, except Calliphoridae, and the second instar larvae, with no such resources available for muscid species. The second instar larvae suffer the most from the lack of morphological descriptions and available identification keys. The Muscidae is one of the most frequently reported dipteran families of forensic importance colonising animal cadavers and human corpses. Nevertheless, descriptions of the morphology of their early instars remain scarce and limited to only a few species, thus their larval identification is challenging or impossible. Considering the numerous challenges associated with studying small-sized entomological material, we tested whether it is feasible to identify muscid flies to the species or at least genus level based predominantly on the details of the cephaloskeleton. To overcome the obstacle of observing details of small sclerites, especially their shapes and interconnections, we effectively employed confocal laser scanning microscopy (CLSM) as a supplementary method for light microscopy (LM). This study provides an identification key for first and second instar larvae of forensically important muscid species from the western Palaearctic (Europe, North Africa, Middle East). The proposed key primarily utilises details of the cephaloskeleton with only addition of external morphology.