We study gravitational baryogenesis in the context of f(R; T) gravity where the gravitational Lagrangian is given by a generic function of the Ricci scalar R and the trace of the stress-energy tensor T. We explore how this type of modified gravity is capable to shed light on the issue of baryon asymmetry in a successful manner. We consider various forms of baryogenesis interaction and discuss the effect of these interaction terms on the baryon to entropy ratio in this setup. We show that baryon asymmetry during the radiation era of the expanding universe can be non-zero in this framework. Then, we calculate the baryon to entropy ratio for some specific f(R; T) models and by using the observational data, we give some constraints on the parameter spaces of these models.