At some point in (I think) the 90s, I saw an episode of something like Outer Limits or Twilight Zone where nobody was allowed to have more than average intelligence. Smarter children had to wear headsets which inhibited them from being too intelligent, administering minor electric shocks if intellectual thought was detected. Can anybody identify the show and episode?
Thanks very much to the people who suggested Harrison Bergeron. The memory of somebody watching his death but - wearing a headset - being too stupid to know why they are upset (Harrison's father) is strong. Also the final scene of rebellious youths taking off their headsets and watching his speech.
"Examination Day" is the first segment of the sixth episode from the first season (1985–86) of the television series The Twilight Zone. The segment is based on the short story "Examination Day" by Henry Slesar. It does not match your description exactly (no electric shocks), but it is similar enough that you may be confusing aspects of it with something else.
There's a wikipedia article that describes it better than I can.