There is no difference between these two prepositions. They both mean even though and are used to connect contrasting ideas.
- In spite of the rain, I went for a walk.
- Despite the rain, I went for a walk.
There is no difference between these two prepositions. They both mean even though and are used to connect contrasting ideas.