We prove some theorems on the existence, uniqueness, stability and compactness properties of solutions to inhomogeneous transport equations with Sobolev coefficients, where the inhomogeneous term depends upon the solution through an integral operator. Contrary to the usual DiPerna–Lions approach, the essential step is to formulate the problem in the Lagrangian setting. Some motivations to study the above problem arise from the description of polymeric flows, where such kind of equations are coupled with other Navier–Stokes type equations. Using the results for the transport equation we will provide, in a separate paper, a sequential stability theorem for the full problem of the flow of concentrated polymers. At the end of the note we also point out a relevant example about the strong stability of the continuity equation, which highlights the role of an important assumption in our main stability statement.