Ionic liquids (ILs) have attracted considerable interest in the last two decades owing to their unique fluorescent properties. Herein, N-octylpyridine hydrogen sulphate ([OP]HSO4) was synthesised and characterised using 1H NMR and infrared spectroscopies. In addition, the fluorescence spectra of [OP]HSO4 in water, methanol, ethanol and acetonitrile were studied. In a single solvent, as the concentration of the solvent (methanol, ethanol or acetonitrile) increases, the fluorescence intensity of the IL first increases and then decreases. A similar trend was observed in their mixed solvents with water. Moreover, the fluorescence intensity of [OP]HSO4 decreases with increasing temperature. A fluorescence intensity reduction of only 4.46% for [OP]HSO4 after continuous scanning for 40 cycles under the maximum excitation state was analysed. The lack of photobleaching observed in [OP]HSO4 indicates its good photobleaching resistance.