I recently took the battery out of my LG remote control to do some minor modifications to the case and lost the programming for the small set of functions that work with the TV. There’s not much on the web directly about this, and it’s pretty simple, so I thought I’d throw a quick note up here to save someone 5 minutes in the future.
Here’s a picture of the remote in question.

To program the remote, simply hold down the TV POWER button in the top right corner and press the manufacturer code button for your TV with the numerical buttons (see the table below).
LG: 1 (default), 2
Zenith: 1, 3, 4
GoldStar: 1, 2
Samsung: 6, 7
Emerson: 6
Sony: 8, 9
Hitachi: 4
Westinghouse: 6, 9 (Thanks Stacey, DB)
Magnavox: 2 (Thanks Michael)
Phillips: 12 (Thanks Benjamin)
Then release the TV POWER button to complete programming.
What about other brands? I have Toshiba. I tried all possibilities, but didn’t work. Any idea?
Comment by Adel — October 11, 2012 @ 8:16 pm
The codes listed in the post were the only ones in the manual. Other brands may or may not work with those options. You might try each of the codes and see if any of them give you at least partial functionality. If not, you’re probably out of luck excluding something like the Logitech Harmony (link is to the 300, which is at the low end of the Harmony series).
Comment by Landis — October 16, 2012 @ 6:04 pm
Thanks for this. Westinghouse is 6.
Comment by Stacey — January 13, 2013 @ 9:12 am
Thanks, Stacey, I added this information to the post as well.
Comment by Landis — January 19, 2013 @ 11:01 am
magnavox was default 2 for me
Comment by michael — November 22, 2013 @ 2:19 pm
Thanks Michael – added this information to the post.
Comment by Landis V — November 30, 2013 @ 9:29 am
Phillips TV is 12
Comment by Benjamin — February 2, 2015 @ 3:50 am
Phillips TV is #12
Comment by Benjamin — February 2, 2015 @ 3:51 am
Thanks for the information Benjamin, updated the post to include it!
Comment by Landis V — February 28, 2015 @ 2:00 pm
You rock! Thanks so much!
Comment by korisa — April 25, 2015 @ 4:40 pm
I need a code for my jvc tv. Can anyone help.
Comment by Cara — July 4, 2015 @ 1:19 pm
westinghouse also 9
Comment by DB — September 8, 2015 @ 3:05 pm
Thanks DB, updated to include. Cara, if you find the code for your JVC, please advise and I’ll include it in the list as well.
Comment by Landis V — September 27, 2015 @ 3:57 pm
Thanks so much!! So helpful!!
Comment by Korisa — November 12, 2015 @ 9:07 pm
Thanks so much
Comment by Helpingnwla — June 26, 2016 @ 12:13 am
Thanks Benjamin!
Comment by hugo — October 9, 2017 @ 8:48 pm
does anyone know the code for a Sharp tv
Comment by John Aye — January 28, 2018 @ 12:29 am
Thank you! Worked perfectly for hitachi. So simple.
Comment by Pamela J Whittle — November 5, 2018 @ 11:59 pm
Worked like a charm, thankssso much!
Comment by Korisa — September 19, 2020 @ 10:01 am
La persona que dejó estas instrucciones, en realidad, se lo agradezco mucho. En mi caso, es un tv Sony, fué muy sencilla la configuración, funciona perfectamente.
Comment by Henry Morán — December 12, 2024 @ 11:17 am