The method of the double error correction in adjacent memory bits, based on selection of the special Hamming code syndromes, has been proposed. It has been shown that this method requires an introduction of one additional control bit of memory. The adjacent memory bits error correction can be especially relevant in development of space equipment, which must operate without failures when exposed to heavy charged particles.