AbstractThe expression of hair features is an evolutionary adaptation resulting from interactions between many organisms and their environment. Elucidation of the mechanisms that underlie the expression of such traits is a topic in evolutionary biology research. Therefore, we assessed the de novo transcriptome of Atelerix albiventris at three developmental stages and compared gene expression profiles between abdomen hair and dorsal spine tissues. We identified 328,576 unigenes in our transcriptome, among which 3,598 were differentially expressed between hair- and spine-type tissues. Dorsal and abdomen skin tissues 5 days after birth were compared and the resulting differentially expressed genes were mainly enriched in keratin filament, epithelium cell differentiation, and epidermis development based on GO enrichment analysis, and tight junction, p53, and cell cycle signaling pathways based on KEGG enrichment analysis. Expression variations of MBP8, SFN, Wnt10, KRT1, and KRT2 may be the main factors regulating hair and spine differentiation for the hedgehog. Strikingly, DEGs in hair-type tissues were also significantly enriched in immune-related terms and pathways with hair-type tissues exhibiting more upregulated immune genes than spine-type tissues. Thus, we propose that spine development was an adaptation that provided protection against injuries or stress and reduced hedgehog vulnerability to infection.