Night flying rules differ for recreational and commercial operators. For recreational pilots, your drone must have lighting that's visible for at least 3 statute miles and allows you to determine its orientation. For commercial operations under Part 107, you must:
Both types of operations must comply with airspace restrictions and other standard regulations.