Foundation of the building plays a major role in proving stability to the entire structure. Foundation soil in the Coastal region having lot of sea water intrusion. The salt content and several minerals present in the sea water having the tendency to erosion of materials like metals and non-metals. The pile foundation present in the coastal region will have reinforcement incorporated on it. It should be strong enough to sustain the entire building loads until its service life. This reinforcement may continuously be exposed to the sea water intrusion on the underground, and it will cause deterioration of reinforcement and it leads to durability issues. The entire structure will be unstable if the foundation is damaged, or it can’t take the building load. In several cases, entire building is collapsed due to the uneven settlement caused by the foundation failure. This can be prevented by using an Anti-corrosion method called Cathodic Protection. A demonstration is made on this idea with an electrical voltage supply by using battery.