an electronic timepiece with alarm function includes a voice code memory for storing voice codes corresponding to externally coupled voices in accordance with write instruction signals corresponding to respective alarm times . the voice code memory includes a plurality of memory regions , and new voice codes are stored in a memory region immediately adjacent to the memory region in which voice codes are already stored . the voice codes read out from the voice code memory at the arrival of a predetermined alarm time are decoded for coupling to a sound producing unit to produce sound corresponding to the read out voice codes .