With the increase of energy demand,the exploration and development of carbonate reservoirs have attracted more attention from various countries.Carbonate reservoir is often regarded as the triple-porosity reservoirs (matrix pores,fractures and caves) in well test model.However,the current research on rate decline analysis of this type of reservoir is relatively few.Secondly,there is a difference in the properties of near wellbore area and the area far from the wellbore because of the formation acidizing,fracturing or the characteristics of the reservoir itself.This kind of reservoir is called composite gas reservoir.Therefore,an unsteady flow model for horizontal well with consideration of triple-porosity medium in composite gas reservoir is established.Using complex mathematical methods for instance:Laplace transformation,orthogonal transformation,the analytic solution of the proposed model is obtained.We also analyzed the effects of relevant parameters on rate decline type curve of horizontal wells in triple-porosity composite gas reservoir.This work enriched the relevant theories of this area,and it has important guidance for better understanding the percolation flow and the production performance of this typical reservoir.