We establish a q-analogue of a supercongruence related to a supercongruence of Rodriguez-Villegas, which extends a q-congruence of Guo and Zeng [‘Some q-analogues of supercongruences of Rodriguez-Villegas’, J. Number Theory 145 (2014), 301–316]. The important ingredients in the proof include Andrews’ $_4\phi _3$ terminating identity.