Is there one off-limits tree in the Garden of Eden or two? Genesis speaks of the tree of knowledge of good and evil (Genesis 2:17) and then later talks of the tree of life (Genesis 3:22). Are they the same tree or two different trees?
No. These are two different trees.
At first, only one was made off limits to humans.
Then, after humans disobeyed, God made the other tree off limits, as well.
But now... it is under guard.
In summary: There are two trees (among many) in this story, the fruit of one was forbidden, humans disobeyed God. Now we are locked out of the other tree (from which the humans were allowed to eat in the first place.)
The tree of knowledge of good and evil is forbidden. The tree of life sustains life. Because, Adam and Eve disobeyed God, their right to eat from this tree was denied. However, the right to eat from this tree will be restored.
Revelation 22:14 KJV