Q fever is a zoonotic bacterial infection caused by Coxiella burnetii that is reportable in the USA. This infection is often asymptomatic; acute infection usually manifests as a self-limited febrile illness, hepatitis, or pneumonia. Chronic infection (usually infective endocarditis) often affects patients with valvulopathy or immunosuppression. Herein, we study the inpatient frequency of Q fever in the United States. We used a nationwide inpatient sample (NIS) for our retrospective cohort study to include hospitalizations with a diagnosis of Q fever between 2010 and 2019. Survey procedures were applied to accommodate for complex sampling design of NIS. Chi-square and least-square means were used for categorical and continuous variables, respectively. Jonckheere-Terpstra test was used to study the trends over the years. SAS 9.4 was used for data mining and analysis. A total of 2,685 hospitalizations with a diagnosis of Q fever were included, among which 451 (17%) cases had a concurrent diagnosis of infective endocarditis. The mean age of patients was 58 years, and less than a third was female. Our analysis demonstrated that infective endocarditis was the most common cardiac complication associated with Q fever and was associated with increased inpatient mortality (p value <0.001). There is a trend of an increase in cases of inpatient Q fever with or without endocarditis over the years (p value <0.05). Q fever cases were more common across the Pacific and the South Atlantic divisions. Physicians should be aware of an increasing trend of hospitalized patients with Q fever and the significant association with infective endocarditis. Further studies are needed.