Parental care is a behavior that increases the growth and survival of offspring, often at a cost to the parents' own survival and/or future reproduction. In this study, we focused on nest guarding, which is one of the most important types of extended parental care; we studied this behavior in two solitary bee species of the genus Ceratina with social ancestors. We performed the experiment of removing the laying female, who usually guards the nest after completing its provisioning, to test the effects of nest guarding on the offspring survival and nest fate. By dissecting natural nests, we found that Ceratina cucurbitina females always guarded their offspring until the offspring reached adulthood. In addition, the females of this species were able to crawl across the nest partitions and inspect the offspring in the brood cells. In contrast, several Ceratina chalybea females guarded their nests until the offspring reached adulthood, but others closed the nest entrance with a plug and deserted the nest. Nests with a low number of provisioned cells were more likely to be plugged and abandoned than nests with a higher number of cells. The female removal experiment had a significantly negative effect on offspring survival in both species. These nests frequently failed due to the attacks of natural enemies (e.g., ants, chalcidoid wasps, and other competing Ceratina bees). Increased offspring survival is the most important benefit of the guarding strategy. The abandonment of a potentially unsuccessful brood might constitute a benefit of the nest plugging behavior. The facultative nest desertion strategy is a derived behavior in the studied bees and constitutes an example of an evolutionary reduction in the extent of parental care.