This study explored the regulation of Lir and microglia‐associated inflammation in depression through network pharmacology and both in vivo and in vitro experiments. This evidence concerns the gene CD300C and depressive symptom measurement.