Simultaneous measurements of refractive index (RI) and temperature are proposed and experimentally demonstrated by using a tapered bend-resistant fiber interferometer. Different phase shifts of an inner and outer cladding mode of the fiber interferometer are measured to determine the temperature compensated RI of a glycerol solution. The temperature coefficients of the inner and outer cladding modes are -0.0253 rad/°C and -0.0523 rad/°C, and the RI coefficients are 4.0403 rad/RIU and 44.823 rad/RIU, respectively. The minimum errors of temperature and RI are 0.6°C and 0.001 RIU, respectively.