The ac loads cause the dc-bus voltage and the source current to oscillate at twice the ac supply frequency ( <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$f_{\mathrm{ ac}}$ </tex-math></inline-formula> ). These oscillations have detrimental effects on sources and converter components. A distributed control strategy is proposed to regulate the current ripples propagating to the sources, in a dc microgrid feeding both the ac and dc loads. The proposed control methodology regulates the output impedance of the source interfacing dc–dc converter dynamically at <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$2f_{\mathrm{ ac}}$ </tex-math></inline-formula> . The impedance is increased virtually in series with the inductor of the dc–dc converter by a dedicated controller, which regulates the ripple magnitude according to the harmonic reference. Using this, the second-order ripple currents can be mitigated or propagated to the nodes having some ripple absorbing circuits or filters. This improves energy density in ripple filters installed at a node and optimal usage of the dc-link capacitor at node terminals is achieved. The proposed second-order ripple current (SRC) regulation is analyzed in the presence of component variations and communication delay between the nodes. A low-bandwidth communication is incorporated so as to facilitate the per-unit current exchange between the nodes for the proportional dc load sharing. The proposed concept is verified through simulation and experimentation.