We propose a new inversion method for vector magnetic field data, which uses the Genetic Algorithm in a space domain calculation to determine the best-fitting 2.5-dimensional (2.5-D) structure. This 2.5-D model is composed of magnetic boundaries with arbitrary strike and magnetic intensity. Two numerical formulas combine to express this model. One of them is a two-dimensional magnetic structure expression for a realistically shaped magnetic layer, and the other is a magnetization contrast expression for magnetic boundaries of variable strike. We use a Genetic Algorithm as the computational technique that supports optimum solutions for magnetization, magnetic strike, and boundary location. In practice, calculations are more accurate in the space domain instead of the more conventional frequency domain because it better preserves the short wavelength components and the true geometry between magnetic sources and observation points even for uneven survey track lines. The above leads to high resolution in the inferred magnetization without the need of upward continuation, which is particularly useful for inverting near-bottom survey data. The code is designed to use smaller storage and less computational time. Its application to synthetic data illustrates the power of resolution and precision in interpreting the fine scale processes of mid-ocean ridge accretion.