Research on social cognitive ability in domestic cats is limited. The current study investigated social referencing in cats when exposed to first, a solvable, and then, an unsolvable scenario (i.e., reachable and unreachable treats) in the presence of either an attentive or an inattentive caregiver. Cats expressed more gaze alternation (P = 0.013), but less interaction with the caregiver (P = 0.048) and approached the treat container less frequently (P = 0.017) during the unsolvable test, compared to the solvable test. When in the presence of an attentive caregiver, cats initiated first gaze at the caregiver faster (P = 0.001); gazed at the caregiver for longer (P = 0.034); and approached the treat more frequently (P = 0.040), compared to when the caregiver was inattentive. Significant interaction was observed between test and caregiver’s attentional state on the expression of sequential behavior, a type of showing behavior. Cats exhibited this behavior marginally more with attentive caregivers, compared to inattentive caregivers, but only during the unsolvable test. There was a decrease in sequential behavior during the unsolvable test, compared to solvable test, but this was only seen with inattentive caregivers (P = 0.018). Our results suggest that gaze alternation is a behavior reliably indicating social referencing in cats and that cats’ social communication with humans is affected by the person’s availability for visual interaction.