Non-invasive genotyping methods provide valuable information on insect populations. However, poor DNA amplification and time-consuming sampling procedures limit these methods, especially for small insects. An efficient and convenient method was developed for non-invasive, non-lethal genotyping of a large insect,
Mythimna separata
, and a small insect,
Drosophila melanogaster
, by amplification of endogenous and exogenous, nuclear and mitochondrial genes from insect frass, exuviae, and food waste. For
M
.
separata
, the chitin synthesis gene
MsCHSB
and the
COI
gene were successfully detected by PCR from exuviae DNA. However, a
COI
fragment could not be detected directly by PCR from frass, probably due to DNA degradation. To improve the detection rate, DNA from frass was first amplified by Multiple Displacement Amplification with phi29 DNA polymerase, after which the
COI
fragment was detected from all samples by PCR. For
D
.
melanogaster
, second instar larvae were reared individually for three days and then DNA was extracted from food waste of each individual. The endogenous fragment
serendipity
α (sryα), exogenous transgene ΦC31 integrase, and the
kl-5
gene, a Y-chromosome-located male-specific marker gene were successfully detected from most samples. We developed a simple, non-invasive, non-lethal method to determine gender and identify transgenic individuals early in the larval stage. This universal method is applicable to most insects and has potential application in genetic and ecological studies of insects and other arthropods.