From må (“may, might”) ske (“happen”), after Middle Low German machschēn (“mayhap”). Compare with Norwegian kanskje and Swedish kanske. Compare also English mayhap and Dutch misschien.
måske