Chosen Solution

Kenmore 500 series electric dryer heating element gets hot but only stays on for 20 seconds. After a couple of minutes the same cycle repeats. Heats 20 seconds and goes off.

@tinker1954 I am a bit confused by that. It is actually pretty common for the heating element to cut in and out. This is usually regulated by your hi and low thermostat. Let us know the exact model number for your dryer and if it still dries the wash.