These trains are usually very busy during rush hour and holidays (New year, Golden Week, Obon Festival - for more information, please consult our
What is a Japan Rail Pass? page)
In any case, as the trains in Japan run very frequently, if you cannot board a train, you can always wait a few minutes for the next one.