Abstract:A model for the optimization of Q switched all fiber laser has been reported.This model predicts how the Q switched pulses depend upon the fiber radius,the loss coefficient of the cavity and the pump power.The theoretical results are in good agreement with experimental data.