Atherosclerotic cardiovascular disease (ASCVD) is a leading cause of mortality worldwide. Statins, which are effective in preventing ASCVD, are underused, particularly for primary prevention. This study examined trends in statin use for primary ASCVD prevention from 1999 to 2020, focusing on demographic variations. Utilizing data from the National Health and Nutrition Examination Survey, the present study includes individuals aged 18 years and older who had a greater than 10% risk of ASCVD over 10 years, and excluded patients with existing ASCVD. Subgroup analyses by demographic categories were performed. We calculated the changes in statin usage and used linear and quadratic tests to assess the linear and nonlinear trends in those changes. A total of 10,037 participants were included. Statin usage increased from 16.16% in 1999 to 36.24% in 2010, and 41.74% in 2020 (quadratic P-value < 0.001). In the 18-44 years age group, statin usage increased from 2.52% in 1999 to 8.14% in 2020 (linear P-value = 0.322), showing no significant linear trend. In the "never-married" group, statin usage increased from 19.16% in 1999 to 30.05% in 2020 (linear P-value = 0.256). Statin usage has shown a positive trend among populations requiring primary prevention for ASCVD. Currently, health policies are proving effective. However, the overall statin usage rate remains less than 50%. Additionally, young and never-married individuals should also receive special attention regarding statin usage as primary treatment for ASCVD.