Fetching details from the dictionary...

trouble; bother; annoyance; nuisance; inconvenience
to be troubled (by); to be bothered (by); to be inconvenienced (by)
夜遅くに大きな音を出すと迷惑になる。
Making loud noises late at night is a nuisance.
彼の行動が周りの人に迷惑をかけている。
His behavior is causing trouble for those around him.
迷惑をかけてすみません。
I'm sorry for the trouble.