Some moth larvae feed not on plants but on keratin and/or chitin produced by animals. These substances are polymers and are commonly found in bird nests as feathers and raptor pellets. Many qualitative studies have examined the association of keratin/chitin feeding moths with bird nests. However, few studies have quantified the species composition with respect to type of nest and habitat. Hence, we have studied the degree to which the niches of these moths differ in terms of type of nest and habitat. We set-up open-top nest boxes for the Ural owl Strix uralensis (damp exposed nests from which owl chicks were fledged successfully) and artificial bird nests (mesh bags filled with duck down to imitate dry exposed nests) in a deciduous forest and artificial bird nests in an urban setting in Aichi Prefecture, central Japan, and collected the contents of the nests every two months from June to December 2014. We recorded 592 individuals of five keratin/chitin feeding moth species (Tineidae, Tineinae) from the contents. Using non-metric multidimensional scaling and cluster analysis of the relative abundances of individual species in each type of nest in forest and urban settings, these species were classified into three groups: (1) Monopis longella and M. congestella inhabiting forest, (2) M. flavidorsalis and Niditinea tugurialis mainly in damp exposed nests in forest and (3) N. piercella mainly in dry exposed nests in urban areas. This classification was compared with findings of other studies. As a result, these moths probably have different niches with respect to nest type (damp or dry), keratin/chitin as a source of food (raptor pellets or feathers), and habitat (forest or urban area). Furthermore, we suggest that the evolution of larviparity in M. congestella might be related to its preference for feathers as a source of food for the development of its larvae.