We study the evolution of maximally symmetric p-branes with a Sp−i⊗\mathbbmRi topology in flat expanding or collapsing homogeneous and isotropic universes with N+1 dimensions (with N≥3, p<N, 0≤i<p). We find the corresponding equations of motion and compute new analytical solutions for the trajectories in phase space. For a constant Hubble parameter, H, and i=0 we show that all initially static solutions with a physical radius below a certain critical value, rc0, are periodic while those with a larger initial radius become frozen in comoving coordinates at late times. We find a stationary solution with constant velocity and physical radius, rc, and compute the root mean square velocity of the periodic p-brane solutions and the corresponding (average) equation of state of the p-brane gas. We also investigate the p-brane dynamics for H=constant in models where the evolution of the universe is driven by a perfect fluid with constant equation of state parameter, w=Pp/ρp, and show that a critical radius, rc, can still be defined for −1≤w<wc with wc=(2−N)/N. We further show that for w∼wc the critical radius is given approximately by rcH∝(wc−w)γc with γc=−1/2 (rcH→∞ when w→wc). Finally, we discuss the impact that the large scale dynamics of the universe can have on the macroscopic evolution of very small loops.