A dream where there is magic or you are using magic suggests that you have the power to achieve your goals or live up to your dreams.
When you use magic in the dream it implies that you are progressing towards a goal or something in your life with ease, or that you are in control. Alternatively, you need to go about something in your life in a different way, or you are finding something more difficult than you initially thought it would be.
Magic being used for negative purposes, or black magic, would suggest that you feel vulnerable, betrayed or mislead. It could also imply that you feel like someone is being controlling or overpowering.