Yes, old 20 dollar bills can still be used as legal tender in the United States. However, it is important to note that there are two different types of $20 bills currently in circulation: the old-design $20 bills and the newer-design $20 bills. The older-design $20 bills were first introduced in 1996 and were produced until 2003, while the newer-design $20 bills were first introduced in 2003 and are still being produced today.

Both the old-design and newer-design $20 bills are accepted as legal tender, meaning they can be used to pay for goods and services. However, some businesses may be hesitant to accept older bills, especially if they have been heavily worn or damaged. In addition, some businesses may prefer to only accept newer-design bills, as they are more familiar with the security features and may find them easier to authenticate.
It is also worth noting that while older-design $20 bills are still legal tender, they may not be as commonly seen in circulation as newer-design bills. This is because the U.S. Treasury Department regularly removes older bills from circulation and replaces them with newer bills in order to combat counterfeiting and maintain the security of the currency.
If you do have an older-design $20 bill that you want to use, it is important to check the bill for any signs of damage or wear that may make it difficult for businesses to accept. Some common signs of wear and tear include tears or holes in the bill, excessive creases or folds, or fading or discoloration.
In addition, it is important to familiarize yourself with the security features of the older-design $20 bill in order to ensure that it is not counterfeit. Some of the security features of the older-design $20 bill include a watermark of Andrew Jackson, a security thread embedded in the bill, and color-shifting ink that changes from copper to green when the bill is tilted.
Overall, while older-design $20 bills can still be used as legal tender in the United States, it is important to check the bill for signs of wear and tear and to be familiar with its security features in order to ensure that it is not counterfeit. Additionally, some businesses may be hesitant to accept older bills, so it is a good idea to have newer-design bills on hand as well.