Introduction: Periprosthetic femur fractures (PPFX) are complications of both total hip and knee arthroplasty and may be treated with open reduction and internal fixation (ORIF) or revision arthroplasty. Differences in treatment and fracture location may be related to patient demographics and lead to differences in cost. Our study examined the effects of demographics and treatment of knee and hip PPFXs on length of stay (LOS) and cost. Methods: Of all, 932 patients were identified with hip or knee PPFXs in the National Inpatient Sample from January 2013 to September 2015. Age, gender, race, mortality, comorbidity level, LOS, total cost, procedure type, geographic region, and hospital type were recorded. A generalized linear regression model was conducted to analyze the effect of fracture type on LOS and cost. Results: Differences in gender (66% vs 83.7% female, P < .01), comorbidities (fewer in hips, P < .01), and costs (US$30 979 vs US$27 944, P < .01) were found between the hip and knee groups. Knees had significantly higher rates of ORIF treatment (80.7% vs 39.1%) and lower rates of revision arthroplasties (19.3% vs 60.9%) than hip PPFXs ( P < .01). Within both groups, patients with more comorbidities, revision surgery, and blood transfusions were more likely to have a longer LOS and higher cost. Conclusion: Periprosthetic femur fractures patients are not homogenous and treatment varies between hip and knee locations. For knee patients, those treated with ORIF were younger, with fewer comorbidities than those treated with revision. Conversely, hip patients treated with ORIF were older, with more comorbidities than those treated with revision. Hips had higher costs than knees, and cost correlated with revision arthroplasty and more comorbidities. In both hip and knee groups, longer LOS was associated with more comorbidities and being treated in urban teaching hospitals. Total cost had the strongest associations with revision procedures as well as number of comorbidities and blood product use.