Magnesium (Mg 2 + ) is the most abundant divalent cation in the cell and is critical for numerous cellular processes. Despite its importance, the mechanisms of intracellular Mg 2 + transport and its regulation are poorly understood. MgtE is the main Mg 2 + transport system in almost half of bacterial species and is an ortholog of mammalian SLC41A1 transporters, which are implicated in neurodegenerative diseases and cancer. To date, only MgtE from Thermus thermophilus (MgtE TT ) has been extensively characterized, mostly in detergent micelles, and gating-related structural dynamics in biologically relevant membranes are scarce. The MgtE homolog from Bacillus firmus (MgtE BF ) is unique since it lacks the entire Mg 2 +-sensing N-domain but has conserved structural motifs in the TM-domain for Mg 2 + transport. In this work, we have successfully purified this novel homolog in a stable and functional form, and ColabFold structure prediction analysis suggests a homodimer. Further, microscale thermophoresis experiments show that MgtE BF binds Mg 2 + and ATP, similar to MgtE TT . Importantly, we show that, despite lacking the N-domain, MgtE BF mediates Mg 2 + transport function in the presence of an inwardly directed Mg 2 + gradient in reconstituted proteoliposomes. Furthermore, comparison of the organization and dynamics of Trp residues in the TM-domain of MgtE BF in membrane mimetics, in apo- and Mg 2 +-bound forms, suggests that the cytoplasmic binding of Mg 2 + might involve modest gating-related conformational changes at the TM-domain. Overall, our results show that the gating-related structural dynamics (hydration dynamics, conformational heterogeneity) of the full-length MgtE BF is significantly changed in functionally pertinent membrane environment, emphasizing the importance of lipid-protein interactions in MgtE gating mechanisms.