Abstract: Objective: To analyze the acupoint selection rules for treating insomnia with intradermal needle in China based on data mining. Methods: A computer-based search was conducted in the Wanfang Medical Database, China Biology Medicine disc(CBMdisc),China National Knowledge Infrastructure (CNKI),and China Science and Technology Journal Database (VIP) for literature related to intradermal needle treatment of insomnia from 2004 to 2023. The acupoint information from the included studies was input into the Traditional Chinese Medicine Inheritance Support System( V3.0). The acupoint selection rules for treating insomnia with intradermal needle were analyzed using frequency statistics, acupoint association rule analysis, and K-means clustering methods. Results: A total of 108 eligible treatment prescriptions were included. The top five most frequently used acupoints for treating insomnia were Shenmen (HT 7),Subcortex (AT4),Heart (CO15),Sympathetic (AH6a),and Sanyinjiao (SP 6). Forty commonly used acupoint combinations were identified, with "Subcortex (AT4), Heart(CO15), Endocrine (CO18)” “Subcortex (AT4), Heart (CO15), Kidney (CO10), Liver (CO12) ” and “Heart (CO15), Kidney (CO10), Endocrine( CO18)” being the most common. Four core acupoint combinations were identified,with "Subcortex( AT4), Heart (CO15), Sympathetic (AH6a), auricular point of Shenmen (HT 7), Kidney (CO10) and Spleen (CO13)" being the most common. Conclusion: The treatment of insomnia by intradermal needle is mainly through tonifying deficiency and reducing excess, regulating qi, blood, yin and yang of viscera and bowels, regulating defense qi, making defense qi entering into yin,so as to achieve the effect of tranquilizing the mind and hamornizing yin and yang.