While it is not always mandated by electrical codes, electrical outlets are typically about one foot or farther away from sinks in order to prevent the risk of water coming into contact with the outlet. \