Actin filament assembly and the regulation of its mechanical properties are fundamental processes essential for eukaryotic cell function. Residue E167 in vertebrate actins forms an inter-subunit salt bridge with residue K61 of the adjacent subunit. Saccharomyces cerevisiae actin filaments are more flexible than vertebrate filaments and have an alanine at this position (A167). Substitution of this alanine for a glutamic acid (A167E) confers Saccharomyces cerevisiae actin filaments with salt-dependent stiffness similar to vertebrate actins. We developed an optimized cryogenic electron microscopy workflow refining sample preparation and vitrification to obtain near-atomic resolution structures of wild-type and A167E mutant Saccharomyces cerevisiae actin filaments. The difference between these structures allowed us to pinpoint the potential binding site of a filament-associated cation that controls the stiffness of the filaments in vertebrate and A167E Saccharomyces cerevisiae actins. Through an analysis of previously published high-resolution reconstructions of vertebrate actin filaments, along with a newly determined high-resolution vertebrate actin structure in the absence of potassium, we identified a unique peak near residue 167 consistent with the binding of a magnesium ion. Our findings show how magnesium can contribute to filament stiffening by directly bridging actin subunits and allosterically affecting the orientation of the DNase-I binding loop of actin, which plays a regulatory role in modulating actin filament stiffness and interactions with regulatory proteins.