Depolarization and repolarization phases of an action potential occur very rapidly, typically taking only 1-5 milliseconds total. This speed allows neurons to transmit signals quickly over long distances, enabling rapid communication within the nervous system.