Based on the symplectic transfer-matrix method, this paper develops a novel approach for the analysis of beams presenting periodic heterogeneities along their span. The approach, rooted in the Hamiltonian formalism, generalizes developments presented earlier by the authors for spanwise uniform beams. Starting from the kinematics of a unit cell, the approach proceeds through a set of structure-preserving symplectic transformations and decomposes the solution into its central and extremity components. The geometric configuration and material properties of the unit cell may be arbitrarily complex as long as the cell's two end cross sections are identical. The proposed approach identifies an equivalent, homogenized beam with uniform curvatures and sectional stiffness characteristics along its span. Numerical examples are presented to demonstrate the capabilities of the analysis. Predictions are found to be in excellent agreement with those obtained by full finite-element analysis.