In humans, pain due to osteoarthritis has been demonstrated to be associated with insomnia and sleep disturbances that affect perception of pain, productivity, and quality of life. Dogs, which develop spontaneous osteoarthritis and represent an increasingly used model for human osteoarthritis, would be expected to show similar sleep disturbances. Further, these sleep disturbances should be mitigated by analgesic therapy. Previous efforts to quantify sleep in osteoarthritic dogs using accelerometry have not demonstrated a beneficial effect of analgesic therapy; this is despite owner-reported improvements in dogs' sleep quality. However, analytic techniques for time-series accelerometry data have advanced with the development of functional linear modeling. Our aim was to apply functional linear modeling to accelerometry data from osteoarthritic dogs participating in a cross-over non-steroidal anti-inflammatory (meloxicam) drug trial. Significant differences in activity patterns were seen dogs receiving drug (meloxicam) vs. placebo, suggestive of improved nighttime resting (sleep) and increased daytime activity. These results align with owner-reported outcome assessments of sleep quality and further support dogs as an important translational model with benefits for both veterinary and human health.