I love this light!  Super happy with it!  It comes with a very long cord.  I measured where i wanted it and cut the cord.  We had to tie it in a knot per directions (the part that goes inside the ceileing) and so it ended up a little shorter than i would have liked.  But thats our fault.  Lesson learned its better to leave to much cord length than not enough.