These two terms may be interchangeable in many contexts. However, I would draw the following comparison.
Loneliness is a feeling or mental state, and usually denotes an involuntary condition that someone is suffering through.
Social Isolation is a situation, it may lead to loneliness, or it may not. Social isolation may be voluntary or involuntary.
Latest Answers