I moved into this apartment and there were no ceiling lights just bare wires hanging from the ceiling socket. Now i have this light i bought from Ikea which has 2 wires 1 blue (N) and 1 brown(L) and in my ceiling I have following wires: White green yellow and 2 blacks

white and green wires are just passing through the socket and they have no ends but the yellow and 2 blacks have bare ends. I have attached pictures if someone can tell me which wires do i have to connect to my light. Thanks

edit: sorry for not mentioning it before, I live in Dubai, UAE

enter image description here

enter image description here

enter image description here

  • 2
    Where in the world are you located? P
    – Ed Beal
    Apr 3, 2021 at 14:45
  • Questions seeking help with home wiring should always include the country and state/province that the house is in. Building codes and wiring color standards vary by location. A good answer for one querent could be completely wrong or even dangerous for another living in a different place. Apr 3, 2021 at 14:50
  • 1
    I am located in UAE, Dubai
    – Moiz
    Apr 3, 2021 at 15:02
  • Here's a straw-man guess: The cable coming in from the top right is power, the bottom left is a switch loop. The pendant is installed in line with the hots between the two cables, and the neutral just runs straight through. The grounds are joined up, perhaps because provision was made for a fixture that needs a ground but the previous fixture didn't. But, I have no idea what the extra yellow cable might be. Test if there's 240V between the blacks with the light switch on, and 0V with the light switched off. Then do more tests in hope of figuring out what's what.
    – jay613
    Apr 5, 2021 at 16:26
  • Thanks for the help guys, I figured it out. So the yellow is getting power when the switch is on and black was neutral and the other black was running down the junction line towards balcony light, i guess that is the neutral for that balcony light which is not working by the way but as i wasn’t sure I covered it up with an electric tape and plugged the yellow into L and black into N and the light is working perfectly.
    – Moiz
    Apr 6, 2021 at 15:24

1 Answer 1


Do you have a volt meter or a way to detect which of the lines have power?

In my area one of the blacks would be hot but having 3 wires is unusual.

a switched hot goes to the brown wire or L terminal. The neutral goes to the blue or n terminal.

I would check with a meter to see where there is voltage. black to black? then voltage black to yellow? Last the other black to yellow 0 volts? I was giving an example as 3 wires would not be normal with 2 the same color if you could take some measurements it would be helpful.

I have seen black as the hot and neutral depending on country. If you could describe the wires coming in the box I can’t make them out clearly which ones are together etc

No one has answered probably because there is not enough information.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.