Abstract When dealing with situations in which the responses are discrete or show some type of asymmetry, the linear model is not appropriate to establish the relation between the responses and the covariates. Generalized linear models serve this purpose, since they allow one to model the mean of the responses through a link function, linearly on the covariates. When atypical observations are present in the sample, robust estimators are useful to provide fair estimations as well as to build outlier detection rules. The focus of this paper is to define robust estimators for the regression parameter when missing data possibly occur in the responses. The estimators introduced turn out to be consistent under mild conditions. In particular, resistant methods for Poisson and Gamma models are given. A simulation study allows one to compare the behaviour of the classical and robust estimators, under different contamination schemes. The robustness of the proposed procedures is studied through the influence function, while asymptotic variances are derived from it. Besides, outlier detection rules are defined using the influence function. The procedure is also illustrated by analysing a real data set.