We have proposed and demonstrated a single-and dual-wavelength switchable Erbium doped fiber laser (EDFL) by utilizing intra-cavity polarization selective filters based on tilted fiber gratings (TFGs). In the cavity, one 45°-TFG is functioning as an in-fiber polarizer and the other 77°-TFG is used as a fiber polarization dependent loss (PDL) filter.The combined polarization effect from these two TFGs enables the laser to switch between the single-and dual-wavelength operation with single polarization state at room temperature. The laser output at each wavelength shows an optical signal to noise ratio (OSNR) of > 60dB and a side mode suppression ratio (SMSR) >50dB and a polarization extinction ratio of ~35dB. The proposed EDFL can give stable output under laboratory condition.2