The passive generation of Q-switched pulses in an erbium-doped fiber (EDF) laser using a Ti C T MXene based saturable absorber (SA) was demonstrated. The SA was formed using Ti AlC MAX phase as a precursor for Ti C T MXene which was obtained by etching Ti AlC using a mixture of lithium fluoride and hydrochloric acid. The generated pulse output was obtained at a central wavelength of nm with a signal to noise ratio (SNR) of . dB at a pump power of . mW. Varying the pump power from . mW to . mW resulted in corresponding changes in the repetition rates and the pulse durations from . kHz to . kHz and . µs to . µs respectively. A pulse energy of . nJ was also obtained at the maximum pump power. Stable Q-switching could be observed up to nm tuning range starting from nm to nm. The generated outputs indicated that the Ti C T based SA can generate high quality and stable Q-switched pulses in the EDF laser cavity, and has high potential for use in various optical telecommunications applications. © Elsevier Inc.